02-23-2017 10:13 AM
i want to put on/off Boolean lights in an array and when another ok button is pressed an additional light is added to the bottom of the array, please help! I used a loop but I also can't turn them on and off for some reason.
02-23-2017 10:22 AM
How can we help if you don't show us what you've done so far?
Please attach your VI.
02-23-2017 10:24 AM
this is the output
02-23-2017 10:31 AM
That is not a VI.
That is a blurry Jpeg picture of a front panel. It doesn't help us help you.
02-24-2017 12:19 AM
Hello,
I've quickly build this VI (this is one way of doing it).
You can check if that's what you need.
Regards
02-24-2017 01:38 AM
EliasN wrote:I've quickly build this VI (this is one way of doing it).
02-24-2017 01:51 AM
@dinner wrote:
i want to put on/off Boolean lights in an array and when another ok button is pressed an additional light is added to the bottom of the array, please help!
As said earlier, you probably want to use an array of fixed size in a shift register. and change elements from false to true in order. Do you know what a shift register is?
@dinner wrote:
I also can't turn them on and off for some reason.
From the above, you seem to use an array indicator. Compared to a control, an indicator cannot be operated directly at run-time. If you want to also be able to operate the array elements directly, you need to make it a control. In this case you would need a local variable to do programmatic value changes.
If you don't understand what I am saying, you need to start with a few basic LabVIEW tutorials. If you would post your VI, we will help you make it work and give more specific advice.