Quantcast
Channel: OPC Labs - OPC Labs - Recent Topics - OPC Labs Online Forums
Viewing all articles
Browse latest Browse all 1794

Writing ByteString - by: federica

$
0
0
Hi,
I'm using your SDK (QuickOPC 2018.1, in particular OPC-UA under COM with C++) since last year.
We usually write data through WriteValue method.
I'm connected to a Fanuc OPC-UA server and I need to write a ByteString tag.
How can I do this?
I continue to receive casting error: "Cast da 'System.String' a 'System.Byte[]' non valido."

Do you know a way for detecting the type of the tag in order to handle different data type in my source code?

Thank you

Best regards,
Federica

Viewing all articles
Browse latest Browse all 1794

Trending Articles