Open frheuinghhn opened 5 years ago
I haven't done this in a while, but I think you need to pass in an array.
radar_type.add_property([0,1,2,3], "Radardaten", ua.VariantArrayType.Array)
It's like this in the server examples (not defining a type though):
myarrayvar = myobj.add_variable(idx, "myarrayvar", [6.7, 7.9])
@zerox1212 Thank you for the quick response, it was really helfpful. Could you please send me the link to the code in the examples? Thank you
Hi guys, I am new to opc ua and I have a problem. I have created a type, which I would like to assign a few variables. My Object should be a radar and should have 3 variables:
setup our own namespace, not really necessary but should as spec
Thanks in advance