06/21/2018
Gents,
I'm using NI LabVIEW environment for my software development along with OPCDAAUTO.DLL and I faced up with the issue specifying ServerHandles input for SyncRead method of Group Object. I was able to find similar data type of ServerHandles out of Items Object Method - AddItems and link the output with input together, but AddItems need its own input of ClientHandles of the same data type as ServerHandles.
I was able to read single ClientHandle as Int32/LONG from other function but I can't just link Int32/LONG to *SAFEARRAY(LONG).
ServerHandles and ClientHandles are specified as SAFEARRAY(LONG) data type, which I found that it's a special C++ data type and not supported by LabVIEW.
What would you recommend to convert ClientHandle as of type Int32/LONG to ClientHandles as of type SAFEARRAY(LONG) ?
I wish it would be another Group Object Method with standard INPUT data types, which will OUTPUT ClientHandles, so I can use it elsewhere.
Thanks,
VK
1 Guest(s)