LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Flexible display

The are 2 kinds of requirments
1) only select 1 channel from DAQ, display 2 waves from that channel.
2) or select 4 channels from DAQs, display 4 waves from each channel on same screen.
May I know how to do it?
0 Kudos
Message 1 of 6
(3,259 Views)

2) or select 4 channels from DAQs, display 4 waves from each channel on same screen.
Configure all four channels in the same Task and use a single DAQ read function ( In DAQmx Read, select a suitable type/instance) and display data on a common Graph/chart
 

1) only select 1 channel from DAQ, display 2 waves from that channel.
And how do you plan to read 2 waves/signals on a single DAQ channel?? are you externally multiplexing 2 signals onto a single channel??
0 Kudos
Message 2 of 6
(3,246 Views)
I mean sometime I need to display 1 graph, while other time I need to display 4 graph, how to change dynamically?
0 Kudos
Message 3 of 6
(3,218 Views)

Hi turbot-

What you want to do is accomplished with the 'Visible' property for either the entire indicator or individual plots.

If you want 4 different waveform graph indicators, [right-click on each graph]>>Create>>Property Node>>Visible.

If you want 4 plots on the same gridspace, [right-click on the graph]>>Create>>Property Node>>Plot>>Visible for each one.  And you'll need to utilize the Active Plot property to distinguish which one you're making visible/invisible each time.

Hope this helps!

Drew Pierce | District Manager, Central Texas | National Instruments
0 Kudos
Message 4 of 6
(3,197 Views)
Any other ways, do not like using visible
0 Kudos
Message 5 of 6
(3,182 Views)
Use a Tab Control to contain your displays and switch between the tabs when required.
CLD; LabVIEW since 8.0, Currently have LabVIEW 2015 SP1, 2018SP1 & 2020 installed
0 Kudos
Message 6 of 6
(2,967 Views)