Open amitChechare opened 5 years ago
well this is what subscription is about, isnt'it?
https://github.com/FreeOpcUa/python-opcua/blob/master/examples/client-example.py Try this example code for subscription.
https://github.com/FreeOpcUa/python-opcua/blob/master/examples/client-example.py Try this example code for subscription.
this link blank.
well this is what subscription is about, isnt'it?
Thank u for that........
https://github.com/FreeOpcUa/python-opcua/blob/master/examples/client-example.py Try this example code for subscription.
can you please share the link of complete example of OPC UA Client. As I am new in both OPC and python. It will help me a lot.
https://github.com/FreeOpcUa/python-opcua/blob/master/examples/client-example.py Try this example code for subscription.
this link blank.
https://github.com/FreeOpcUa/python-opcua/blob/master/examples/client-example.py
https://github.com/FreeOpcUa/python-opcua/blob/master/examples/client-example.py Try this example code for subscription.
this link blank.
https://github.com/FreeOpcUa/python-opcua/blob/master/examples/client-example.py
Thank you for your link that you gave me, It gave me some idea about my issue. But I have below query in code given in above link.
uri = "OPCUA_SERVER1" # Name of name space use in my UA server idx = client.get_namespace_index(uri)
I am not getting any idea that how should I create myvar and obj in my case using my namespace i.e "OPCUA_SERVER1". I got three namespace 1) http://opcfoundation.org/UA/ 2)urn:freeopcua:python:server 3) OPCUA_SERVER1 when I printed that client.get_namespace_array() Name space which I am using is correct...?
Thanks in advance.
I guess you should use the namespace, which you register at your server before, i.e. "OPCUA_SERVER1" in your case.
I have written OPC-UA server in python, In that server receives data from meters. Now I am writing OPC-UA client in which I want to read data for meter which gets sampled. i.e I want to read data from OPC-UA server as soon as it gets that data from meter. Can any one give me idea how to do that.