Ihre Kommentare
I have found the problem. It will be included in the next release. I will send you a patch via mail!
No currently this is not implemented - will be possible in the next release (latest end of this month)
Hi,
what do you mean you can't read all nodes. Reading all nodes takes some time if there are a lot of variables on the OPCUA server because it is not multithreaded imported (we will change that soon). This is why it is usually better to only import the subnode which is really needed.
For the problem with your variable, the problem seems to be the type (the type is Variable - but it should be Int64). I need to check what the reason ist.
Can you please try to read the variable directly in code (without having the node as a gameobject) by doing like this:
float myvar = (float)Interface.ReadNodeValue(NodeId);
Hi,
a few questions from my side to understand the problem.
Did you checked the NodeID you want to display the text from with an OPC UA Browser (you can find several in the internet).
Is the text displaying if you use an OPCUA_Node Script - the text should be sown under value?
If both things can be answered yes the communication is correct and it is just a programming issue on your side.
What I am wondering about is, that your NodeID is called "Counter1". It seems more that it is not of type string. Maype you missed to convert the integer to a string?
Best regards
Thomas
Yes sure this is possible. The ip adress is just a property and you can start the connect at any time by script if you want. You will need to build a GUI based on Unitys UI system to let the user put in the IP adresse and then you can start the connection via script.
Customer support service by UserEcho