LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I am supppose to wire up a cluster to a callng library function thru the use of the "adapt to type" configuration.But the program lie in the data types in the struct.

i have call library function that contain two arguement,two inputs i mean.The first input is simply an int which can be easily matched by labview data type.The second input is declared as a structure which i match it thru a cluster by using the adapt to type means.
However,inside the structure there are four variables,two of which is PULONG and the other two is ULONG.Inside my cluster i can match the ULONG by a 32bit unsign integer labview data type but how can i match the PULONG with a labview data type?
0 Kudos
Message 1 of 2
(2,611 Views)
There is a great KnowledgeBase entry that discusses using the "adapt to type" option in a Call Library Function, and specifically using clusters.

This KB, titled "I'm Having Trouble Accessing the Members of a Cluster Passed to a Shared Library Such as a DLL" is available at:

http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/bc2a65c0fe2868a1862566e80067c4e4?OpenDocument

I found this article by going to www.ni.com, clicking on the KnowledgeBase link, and searching for "call library cluster."
0 Kudos
Message 2 of 2
(2,611 Views)