LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

2d array indicator and its refnum

Normally, some kinds of refnum are passed to SubVI.
Sometimes, I want to check the value of the refnum in programming for SubVI.
In case of 2d array, how to indicate the array value from the array refnum?
0 Kudos
Message 1 of 2
(2,836 Views)
Wire the refnum to a "value" property node to read out the 2D array value (all elements). (there is nothing special about 2D arrays, the same works for simple numeric, booleans, clusters, etc.).
 
Of course a 2D array has NxM values, so if you only want a specific element, use "Index array".
 
 
(and no, normally we don't pass refnums to subVIs except under very specific needs) 😉
0 Kudos
Message 2 of 2
(2,829 Views)