LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to choose signals from the Front Panel?

Solved!
Go to solution

Hello guys I'm still a new user of LabView and I have a program where I have seven signals and I used the select signals VI as shown in the first picture. What I'm trying to do is getting those boolean functions for choosing the signals on the Front Panel as shown in the second picture. Any advice how to implement that?
I was thinking about adding 7 boolean controls and connecting them to each signal but I am not sure if that is the best way to do it or if it even right to do

Thanks in advance  

Download All
0 Kudos
Message 1 of 5
(2,471 Views)

Make them an array of buttons and it becomes REALLY simple.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 5
(2,446 Views)

Could you please tell me how to do that or refer to any source where I could see how it should be done? 
I tried searching for what you said but I didn't have luck

Best regards,
Amr

0 Kudos
Message 3 of 5
(2,380 Views)
Solution
Accepted by topic author Amr95

I suspect the new "interactive" tutorials for LabVIEW would describe this somewhere, but I'll do the same (since faster to type than to search videos)...

Edit: Here's a link to the part describing arrays.

 

  1. Go to the front panel
  2. Drop an Array container (Data Containers > Array)
  3. Drop a boolean Control inside the array container (e.g. push button, or whatever)

You should get something like this:

Example_VI.png (top is front panel, bottom is block diagram).

 

You can expand the visible elements by dragging the array on the front panel. Note that this has no effect whatsoever on the contents of the control, in particular, on the number of elements in the array. Here, there are 0 elements in my array, and 1 element visible.


GCentral
0 Kudos
Message 4 of 5
(2,374 Views)

Oh cool! Thanks a lot! 
Is it possible then to make each boolean button correspond to a certain signal from my seven signals?

0 Kudos
Message 5 of 5
(2,366 Views)