python-opcua
python-opcua copied to clipboard
Unable to change variable value to True
Hello Dears, I can read data from a server (opc ua device) without any problem. However, i can't write any variables. Here is my code:
def set_opcua_data():
try:
node = client.get_node("ns=3; i=16847616")
node.set_value(True)
except Exception as er:
print(f"*** Failure: {str(er)}")
Here is the error:
*** Failure: "The server does not support writing the combination of value, status and timestamps provided."(BadWriteNotSupported)
When i use Ua expert, i can read and write to the server!
Your help please :)