LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Controlling indicator LEDs

I have now read a lot about how to indexing of cluster and wiring in LV. My problem is to change the color of "leds"(colorbox because I need more than 2 states) in a cluster (in the example 4 leds). It is no problem if I use property nodes but as written elsewere, this is not how you should work with labview. In the examples second event I try to use shift registers and unbundle-bundle but it fails by some reason. How should I solve this problem?
/thomas"
0 Kudos
Message 1 of 4
(2,842 Views)
your vi minor changed

regards
Werner
0 Kudos
Message 2 of 4
(2,842 Views)
Thank you very much! But this vi still uses a local variable which you should not use if you are a "real" LV programmer. I found a solution myself when I looked at your vi. After my "bundle" the cluster contained 9 elements (my array has 4 elements)! This is the default size so I changed the "bundle"size to 4 and then it worked.
/thomas
0 Kudos
Message 3 of 4
(2,842 Views)
hi

congratulations for better solution.
Up to now I didn't know the feature, that an
"array to cluster" might be reduced in its cluster size.
This I learned from you - thanks.

regards
Werner
0 Kudos
Message 4 of 4
(2,842 Views)