-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can possible that many instants of OPC UA server fetch and display in mobile app ? #26
Comments
When using version 2.0.0-RC2, you can build a UaApplication in app.cs.
Then you create 10 view-models, each with a specific name and Subscription attribute with the ipAddress of the server.
The last thing is the MainView, which shows the 10 view-models
|
Dear Sir, Above method work and it is very easy compare to previous code ... but sometimes it is worked and some time not working.. Means I made android and UWP mobile app which display two OPC UA server data at same time and when i am trying to run UWP app its working fine and display both PLC data simultaneously real time but same application I run again without change anything in code but anyone server not update value means slider not change even i can able to browse OPC UA server from OPC Browser. same issue observed in android mobile app I also observe that when OPC UA server not change dynamic value from OPC UA sever at that time NO Session created. Can you solve this issue ? Note: I tested in 2.0.0 - RC2 and 2.0.0 - RC3 Thanks, |
There should be lots of information in the Debug output window. Please save the output to a file and post here or on Dropbox. |
Dear sir, Find below output from VS 15. |
For UWP: I know that error to mean that the UA Server did not accept the certificate. For Droid: |
Dear Sir, For android. I already mentioned this.application.Run() in the OnStart() method but still sometime code works and some time code not works. below are my code. PLC1MainViewModel.cs.txt |
Dear Sir, For UWP Below are today's debug logs and application screenshot for your reference. UWP Output 03_05 Debug 2.txt Thanks, |
Dear Sir , For Android. I add one main_page that display only one view model also also add one button which can redirect PLC1View page as mentioned above below are the screenshot of PLCView (Android Screenshoot PLCView page ) below are debug output of android application Android Output 03_05 Debug 1.txt Thanks, |
Dear Sir, For UWP More Debug Logs for your reference... Workstation.ServiceModel.Ua.Channels.UaTcpSessionChannel:Information: Discovering endpoints of 'opc.tcp://192.168.137.1:26543'. |
Dear Sir, Today I again debug code and still found random behavior of code. Situation 1 : Debug code when Both PLC data update Real time on screen of UWp app'IoT_Mobile.UWP.exe' (CoreCLR: DefaultDomain): Loaded 'C:\Program Files\WindowsApps\Microsoft.NET.CoreRuntime.1.0_1.0.23819.0_x86__8wekyb3d8bbwe\mscorlib.ni.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. Situation 2 : Debug code when Both PLC data Not update Real time on screen of UWp app'IoT_Mobile.UWP.exe' (CoreCLR: DefaultDomain): Loaded 'C:\Program Files\WindowsApps\Microsoft.NET.CoreRuntime.1.0_1.0.23819.0_x86__8wekyb3d8bbwe\mscorlib.ni.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled. Any solution you found ? Let me know if you want more debug logs Thanks, |
Thank you for the debug logs. I found the bug and am working on fixing it. |
Try version 2.0.0-RC4 please. |
Dear Sir, Its working Fine in UWP mobile app but not expected working in Android mobile app. find below debug logs of android real device for your reference. On display I have Display two OPC server but only one opc server data change in real time Android application is debugging. Thanks, |
Your UWP app can connect to 'opc.tcp://192.168.0.6:48030', but your Android app can not? |
Dear Sir, Its working like charm... Thanks....Now its working in android as well UWP without any issue. Below steps I follow. clean solution Then issue resolved. Vendor of OPC UA server is https://www.unified-automation.com/ |
Dear Sir,
I am looking for that multiple opc ua server fetch and display on same page of mobile application
Example:
I have 10 OPC UA server and fetch some 5 variables from each server and display 5 variable of each opc ua server on same page of android application. can you demonstrate this in Workstation.MobileHmi ?
Thanks,
The text was updated successfully, but these errors were encountered: