01-06-2012 02:59 AM
Hi,
I am trying to find the clusters within a clusters (1 level). My VI works locally, but not deployed on the sbRIO-9602. I have pinned the problem down to the type cast as displayed below. The Ctl-classname property node returns "Cluster", but the Cluster-ClassName node returns blank.
What am I doing wrong? Is there a workaround?
I am using Labview 2010.
01-06-2012 07:47 AM
If this is the same thing I saw back in LV 6i then its a sublt detail that is hitting you.
On a RT system the FP simply do not exist so refs to the object fail. THey will work OK on a windows machine and will work when doing execution highlighting (becuase the FP is loaded for that case).
Wiring through your error cluster and monitoring same may have given you a clue to that effect.
Ben
01-09-2012 08:20 AM
Indeed, you are correct. "Refnum Not Available For RT"
01-09-2012 11:38 AM
As a possible workaround, see if the "GetClusterInfo" VI found in vi.lib\utility\VariantDataType will get you the information you need. You feed it a cluster and it returns an array of variants representing each element in that cluster. You can then use GetTypeInfo, found in the same directory, to get the name and datatype of each element. This does work on RT.