LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

link a single scroll bar to two arrays

I am trying to link a single scroll bar to a pair of arrays (one is dbl, one boolean; both single dimension), so they line up correctly as I move the bar. Any ideas on how to get this to work? I tried a cluster, but no luck (Maybe I missed somethng?). Thanks!
0 Kudos
Message 1 of 3
(3,458 Views)
Hi Templar,

use property nodes:
read shown array index (property "Index values") from 1st array and set the same indices for the 2nd array...

Message Edited by GerdW on 07-26-2007 04:03 PM

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 3
(3,453 Views)
If you're using the scrollbar on one of the arrays, Gerd's solution is effective. If you're using an independent scrollbar just respond to the scrollbar's "Value Change" event and set the index values of both arrays as Gerd mentioned.
Message 3 of 3
(3,446 Views)