LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

OPC UA: read and write cluster data

Hello,

I'd like to read and write cluster data to a PLC. I have a cluster containing one Double and one UInt16 and I try to read it with "NI OPC UA Client.lvlib:Read.vi" with the variant instance selected. To write I'm using "NI OPC UA Client.lvlib:Write.vi" with the variant instance selected.

Read returns status "Bad_TypeMismatch", Write returns status 2155020288.

Reading the cluster elements individually works fine. Is there a way to read the complete cluster at once or can Labview only read individual elements?

Write returns always state 2155020288, also when accessing individual cluster elements.

When I want to write a Int32 scalar write returns the same error (Int32 instance selected). Writing the same scalar with Labview 2015 "OPC UA write" works fine.

Do I have to setup the server in a different way?

0 Kudos
Message 1 of 2
(2,670 Views)

Hi, 

 

has this been solved?

 

Thomas

0 Kudos
Message 2 of 2
(2,221 Views)