Connection successful with Server not able get the Tag values #1258
Unanswered
Yashvanthb13
asked this question in
Q&A
Replies: 2 comments 10 replies
-
|
(I just made your code example a bit prettier, so that it is better readable. You can do that if you add |
Beta Was this translation helpful? Give feedback.
6 replies
-
for i in range(0 , int(size)):
Tagvalue["Tag_No_"+ str(i)] = client.get_node(opcuaTag["Variable" + str(i)]).get_value()i hope you only read a few nodes with that... many readrequests python-opcua/opcua/client/client.py Line 658 in 0d595e5 is faster and more efficient using a dict is also slower the using lists or sets edit: POST THE EXCEPTION! |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This the code i'm using to connect and read data from opc ua server, i',m able get data from prosys server simulator, when i try to connect with siemens 840D server, connection establishment is successful after that when reading the tag values it is not printing anything and jumps to print(subcribe Error!).
Server URL and port and other configurations are read from the ini file
Able to connect with UaExpert with User name and password but when i try with above sample code not able to read tag values
Beta Was this translation helpful? Give feedback.
All reactions