LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

accesse array entries within a lower VI hierarchy

Solved!
Go to solution

Hi

 

 I would like to have access to an array elements within a subVI at lower hierarch. Right now using the property of "callers" I have access to VI refnum at the higher level and "Array elements reference number" enables me to write into the first element of the array but I would like to have access to all elements seperately.

Please consider that I am using LV 8.2 .

 

Best regards

Afshin

0 Kudos
Message 1 of 2
(2,320 Views)
Solution
Accepted by topic author Af_Dk

Hi Afshin,

 

as you already use property nodes you should wire the property "IndexValues" to show the wanted element and then read it's value by "ArrElem.Value". Or search the forum as there are other threads on this topic too Smiley Wink

 

In general: the better (faster, no thread switches, [no] datacopies) way is to wire the array itself to the subvi !

Message Edited by GerdW on 06-07-2009 05:48 PM
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(2,312 Views)