LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

array pointer in array

Hi tbob,

ok, I got the RefArray worked out.
I also modified my system according to your proposal with array references and it works so far. The problem now is that no matter what number I put in for selstart and selsize of the property node to select an element of the array, it doesn`t change anything (see my problem 2 from above) it always selects the same element and they are different for each array!???. I couldn`t get it working on your VI either (I am using LV 7.1, Windows XP).

Kind regards
Richard
0 Kudos
Message 11 of 15
(1,160 Views)
Hi RichL,

if there are more informations than "simple 3D" Shanes proposal should work even better for you! Just put the additional informations into the cluster level (array of cluster of [array, add. data]).

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 12 of 15
(1,018 Views)

Sorry, I should have tested it better.  Here is an attached vi that works better.  Once you select which array from RefArray, get the entire array and manipulate it directly.

 

- tbob

Inventor of the WORM Global
Message 13 of 15
(1,142 Views)
Hi tbob,

sorry to bother you again. I tested your VI and tried to modify an element value of a selected array (see attached modification of your VI). I still can not change the position into which the new value should be written. Changing "Selection Start" has no effect.  Where is my problem? Furthermore I don`t understand why the input to "Selection Start" is an array; the selected array is 1D, so the input to select an element of this array should be a numeric element.

Kind regards
Richard

0 Kudos
Message 14 of 15
(1,081 Views)
Don't use Selection Start.  For some reason, this doesn't work like it seems.  Look at my attached vi called Ref Array[3].  Get the entire array and manipulate it using array functions.
 
Sorry for the late reply, I've been off for a week.
 
- tbob

Inventor of the WORM Global
Message 15 of 15
(959 Views)