10-18-2019 08:30 AM
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
Solved! Go to Solution.
10-18-2019 09:07 AM
Make them an array of buttons and it becomes REALLY simple.
10-24-2019 05:22 AM
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
10-24-2019 05:48 AM - edited 10-24-2019 05:51 AM
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.
You should get something like this:
(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.
10-24-2019 06:11 AM
Oh cool! Thanks a lot!
Is it possible then to make each boolean button correspond to a certain signal from my seven signals?