From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
07-24-2014 01:11 PM
I have a bollean array of LEDs. When I turn on specific number of booleans it should effect an ouput numeric controller. For Ex: From the boolean array if I turn on the 1, 3 and 7 LED, the numeric controller should now only givce ouit 1,3 and 7 numbers instead of all the numbers in sequence. Is there an way to achieve this?
Solved! Go to Solution.
07-24-2014 01:23 PM
Sounds like a ring control would work well for your situation. When you detect an LED change, you add or remove that item from the ring, making it unselectable.
07-24-2014 01:24 PM
07-24-2014 01:27 PM
07-24-2014 01:29 PM
How am I supposed to achieve that. I made a ring controller and created a property node with disableditems[]. But how do I link the array of booleans to the disabled items list?
07-24-2014 01:32 PM
HEy Dave,
I see that the output numeric is an indicator. It needs to be a controller so that the user can then select numbgers that represent active LEDs
07-24-2014 01:38 PM
Here is an example of what to do. You search for false Booleans and pass their index to the property node "disable items" of a ring.
07-24-2014 01:40 PM
Use a property node to fill a list box or a text ring control. These can be changed at runtime.
07-24-2014 01:40 PM
Hi,
I am using Labview 12.0.1. I see that the vi example is in v13. Can you downgrade the .vi and send it to me?
Thank you,
07-24-2014 01:44 PM - edited 07-24-2014 01:44 PM
Here's a much simpler version of the example given above.