Welcome, Guest
Username: Password: Remember me

TOPIC: Using project for iOS and Android

Using project for iOS and Android 3 years 2 months ago #226

  • Schaapie333
  • Schaapie333's Avatar
The wireshark capture file with the same testprotocol (2 times Android, 2 times iPhone).
The IP adres from the OPCUA Server has changed into another network 172.16.180.199.

Best regards Reinier
Attachments:
The administrator has disabled public write access.

Using project for iOS and Android 3 years 2 months ago #227

  • fatkhrus
  • fatkhrus's Avatar
  • Offline
  • Administrator
  • Posts: 377
  • Thank you received: 44
  • Karma: -82
I've studied your Wireshark file. It's true in some reasons your iPhone sends the wrong value = -929993872. I've opened your project, for testing purpose change your server into Unified Automation demo server and change your tag Commando PV input source into ns=4;s=AllDataTypesStatic/StaticInt32 (one of static value of UA demo server). Import this project on one of my iOS device (iPhone 5s). Start and try to click buttons on Screen0. It works without problems and value of tag Commando changed as it should = 1,2,4. I've also tested on all simulators and all other my iOS devices and on all it works well. I don't understand why it has not worked on your device and I have only a few guesses:
1. Check version of TeslaSCADA2 Runtime installed on your iPhone and TeslaSCADA2 IDE on your PC (this last version 2.10).
2. What iPhone do you use? And what iOS version do you use? It seems to me that you use iPhone <4s. The minimum requirements for TeslaSCADA2 Runtime is iOS 8. Does your model supports this version of iOS. Do you have other model of iOS device? Can you check TeslaSCADA2 Runtime on it?
3. In your project you have button Invoer that let you change value of tag Commando through Dialog box. Do you have the same problem by entering value through this button?
4. Try to change Data type of Commando tag into other types (Byte, Short, Int, Long,Double, Float) without changing PV Input source.
5. Try to change change data type of Commando PV Input source in OPC UA server. Try to return to byte type, int16 type...

Best regards,
Ruslan
Last Edit: 3 years 2 months ago by fatkhrus.
The administrator has disabled public write access.

Using project for iOS and Android 3 years 2 months ago #228

  • Schaapie333
  • Schaapie333's Avatar
1. I had installed version 2.10 but to be sure I removed it, downloaded the current version (2.10) and re-installed it.
The header says it is TeslaSCADA 2.0 IDE
I also re-installed the Tesla Runtime App
2. For testing I use an old iPhone 4 with iOS 9.3.5 but I have also test it with an iPhone 6 Plus with the same problem.
3. When put different values by using this button it gives the same problem. All values gives the same value back.
When I restart the app this is another value. (With the Android device this is being just ok.)
4. I have done it with all off the types but none off them with succes
5. I have done it with all off the types but none off them with succes

I will do some testing with other than the Simatic stuff. May be it gives a clue of what the problem is(i.e. byte swapping).

Best regards,
Reinier
The administrator has disabled public write access.

Using project for iOS and Android 3 years 2 months ago #229

  • Schaapie333
  • Schaapie333's Avatar
I did some testing with OPC Foundation's OpenOpcUaCoreServer Demo for Windows (www.openopcua.org/download/Files/OpenOpc...s_DemoSimulation.zip)
It gives the same sort of problems as with the Simatic OPCUA server. :
byte ->Command Value:11
Iphone response 0
Android response 11

short -> Command Value:22
Iphone response 0
Android response 0

Int32 -> Command Value:33
Iphone response 1774292196
Android response 33

UInt32 -> Command Value:44
Iphone response 1847
Android response 44

I have also attached the new project(v43) files.

Best Regards,
Reinier
Attachments:
The administrator has disabled public write access.

Using project for iOS and Android 3 years 2 months ago #230

  • fatkhrus
  • fatkhrus's Avatar
  • Offline
  • Administrator
  • Posts: 377
  • Thank you received: 44
  • Karma: -82
OK.
I understand. We have an idea, why it's possible. We'll try to fix in the next version. I think we'll release at the end of this week or at the begin of the next week.

Best regards,
Ruslan
The administrator has disabled public write access.

Using project for iOS and Android 3 years 2 months ago #231

  • fatkhrus
  • fatkhrus's Avatar
  • Offline
  • Administrator
  • Posts: 377
  • Thank you received: 44
  • Karma: -82
Hello,

Today we've released new version of TeslaSCADA2 - 2.11. I think this version will solve your problem.

Best regards,
Ruslan
The administrator has disabled public write access.
Go to top