You could use a "set" boolean to add the control value, via a case
structure, to the array. If the set is true, add the value.
Hope this helps.
eilerttl@npt.nuwc.navy.mil
slade_w@my-deja.com wrote:
> Hello all,
>
> An application I have is to record 10 unique X,Y,Z positions from three
> digital readouts. The positions change slowly, and then stop, so the
> operator could easily input the values using controls on the vi front
> panel.
>
> I am attempting to build a 10 x 3 array with three numeric controls. I
> can easily build the array if I simply place the controls in a FOR loop
> with ten iterations, but the resulting array is rather useless, because
> all the rows are identical to the first control values.
> What I'd really like to do is change the values of the cont
rols between
> loop iterations, then just press a button to "send" the values to the
> array being built.
>
> Am I taking a foolhardy approach here?
>
> Any help is appreciated!
>
> Will Slade
> Student, Mech. Engineering
> Univ. of Minnesota
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.