LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

show 30 different channels without getting the front panel too crowded

What function should I use to receive the data of 30 channels without getting the front panel crowded? I´ve already done 30 controls simulating the multiplexer in the front panel, but how can I choose each channel in a way that the data from only this channel appear as I click in that control in the panel, and I can change that as I want during the acquisition.
0 Kudos
Message 1 of 5
(2,858 Views)
A simple menu ring comes to mind. List the channels in the menu ring and then respond to the value change event.
0 Kudos
Message 2 of 5
(2,856 Views)
I would add a check box for each control panel that when checked would make that channel visible in the waveform graph/chart that you are using to display that data.  Using the Active Plot property to select the channel and the Plot.Visible property to turn in on/off.

See attached in LV8.5
Randall Pursley
0 Kudos
Message 3 of 5
(2,837 Views)

There is a listbox example file that does this.

C:\Program Files\National Instruments\LabVIEW 8.5\examples\general\controls\listbox2.llb\Listbox to Select Multiple Waveforms Demo.vi

0 Kudos
Message 4 of 5
(2,825 Views)


jvzs wrote:
 I´ve already done 30 controls simulating the multiplexer in the front panel, but how can I choose each channel in a way that the data from only this channel appear as I click in that control in the panel, and I can change that as I want during the acquisition.

Instead of 30 controls, always use an array of controls. This often simplifies the code dramatically. For example, here's a quick rewrite of Randall Pursley's example above using arrays (LV 8.0). The code is about 10x simpler. 🙂
 

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