From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

automatic graph creation

If you know the maximum amout of graphs that you want you should be able to use the disabled property node to enable or disable the graphs as you need to.  You can set up boolean controls for the individual graphs you want.

 

You will need to be collecting data from your maximum amout of channels unless you want to stop the task and reconfigure it for the right number channels.  But that might get confusing if the user is given selectablity of individual graphs.

0 Kudos
Message 11 of 12
(368 Views)

Possibly you should consider using the DAQmx Read N Channel N Sample 1D Waveform instance.

 

The Waveforms take the Channel Name attribute and automatically apply that to the plot name when graphed.  You can even assign the Channel Names with the DAQmx Wizard.

Capture.PNG


"Should be" isn't "Is" -Jay
0 Kudos
Message 12 of 12
(367 Views)