LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how do I create front panel objects from the block diagram

Labview 6 Windows

I need to generate 50 LEDs (actually 512) from the block diagram. I need to be able to manipulate thier coordinates as well. I tried to have a sub vi to make 1 LED, and make the code create 49 more on the front panel, spaced 50 units a part. What I want to avoid is having to copy 50 seperate LEDs and property nodes (512 actually, I am starting simple here. Is there a way to accomplish this without all the copying and pasting? I include my sample code to show what I am trying to do.
Download All
0 Kudos
Message 1 of 2
(2,537 Views)
How about using an array or LED's? If the spacing is critical, you could customize a boolean LED to the size you want, then drop it in the array. You can use a 1D or 2D array if necessary. This approach will be cleaner and much easier to deal with than 50 seperate LED's.
>

"There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
0 Kudos
Message 2 of 2
(2,537 Views)