09-02-2008 09:05 AM
My client has requested a set of DLL functions be ported to LabVIEW 7.0.
I know that where a struct is expected, a cluster can be input as long as it is flat data (no arrays within the cluster, including strings). In a few cases I had to convert a nested array within a cluster into a nested cluster within a cluster.
I now have a situation where an array of clusters is the parameter. The cluster contains only U16s.
One solution is to turn the cluster into an array of U16; then I end up with a 2D array of U16, and that will work.
I am wondering if I can avoid doing the conversion and input an array of cluster directly?
09-03-2008 11:53 AM
Hi Lawrence,
I found a Knowledge Base article titled Passing an Array of Clusters From LabVIEW to a DLL. Seems appropriate. Take a look and see if it helps!
Cheers,
09-03-2008 01:24 PM
thanx for the link,
guess I can go either way (but carefully)
lmd2