FreeOpcUa / python-opcua

LGPL Pure Python OPC-UA Client and Server
http://freeopcua.github.io/
GNU Lesser General Public License v3.0
1.32k stars 661 forks source link

how to set_value typle is "word" value???? #1481

Closed westbullman closed 1 year ago

westbullman commented 1 year ago

my code is " dv = ua.DataValue(ua.Variant(1, ua.VariantType.Word)) thisResultItem.set_value(dv)"

this doesn't work,who can help me?thanks !!