LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

References to cluster rules

Solved!
Go to solution

 

When using a references to a cluster are there limitations

when it is passed to a sub vi ?

 

   Can the cluster contain other clusters ?

   Can a "type def" cluster contain "strict type def" clusters?

   Can references go stale ?

   Can you reference a reference ?

   I create arrays of references, are there any issues ?

0 Kudos
Message 1 of 2
(2,366 Views)
Solution
Accepted by topic author Ben_01880

@Ben_01880 wrote:

 

When using a references to a cluster are there limitations

when it is passed to a sub vi ?

 

   Can the cluster contain other clusters ?  Yes

   Can a "type def" cluster contain "strict type def" clusters?  Yes

   Can references go stale ?  Possibly.  Depends on the type of reference.  If it is the kind of reference to something that you can open, and later close it, any further use of that reference would be stale.

   Can you reference a reference ?  I don't think so, but I don't know.  I've never had a situation where I thought I needed to do it.  What is your use case?

   I create arrays of references, are there any issues ?  As long as each element in the array is of the same type of reference.  So if you had a reference to a numeric arrayed with a boolean, the resulting array will be coerced to their nearest common class which would be just a control reference (as opposed to a boolean control reference, or a digital numeric control reference.)


 

Message 2 of 2
(2,357 Views)