Read Multiple Tags/Items at once using OPCDAAUTO.DLL Group Object Method - SyncRead|Classic OPC: DA, A&E, HDA, XML-DA, etc.|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
Read Multiple Tags/Items at once using OPCDAAUTO.DLL Group Object Method - SyncRead
Avatar
Vadim Komarov
New Member
Members
Forum Posts: 1
Member Since:
06/21/2018
sp_UserOfflineSmall Offline
1
06/28/2018 - 08:05
sp_Permalink sp_Print

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

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 12
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1435
Posts: 4855