DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing DIAdem Connectivity Library with C#

How do you call the method "DDC_GetChannelGroups" in the "nilibddc.dll" correctly with c#? The method takes three arguments: 1. file handle (integer) 2. group handles (array of group handles) 3. length of array mentioned above The first argument is ok. But what kind of data structure should i pass as the second argument. I've tried Int32, but if the array contains more than one argument (even though i know there is more than one group) the method fails. How am i supposed to know how many channel groups there are in a given file beforehand anyway (this is a lesser problem though, because even when i know the exact number of groups it doesn't work).
0 Kudos
Message 1 of 3
(3,947 Views)
I had overlooked the DDC_GetNumChannelGroups method, so thats an easy way to get the number of groups, but this doesn't solve the problem, because as i mentioned above, even when i know the exact number of groups it doesn't work.
0 Kudos
Message 2 of 3
(3,940 Views)

hi slate

did you manage to connet this dll via c#?

i have this problem

http://forums.ni.com/ni/board/message?board.id=60&thread.id=11821

 

 

0 Kudos
Message 3 of 3
(3,519 Views)