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: 

Dynamically Changing Number of Channels in Chart

Hi,

I have a simple question about a labview programming issue. I am
trying to modify an NI Example program for demonstrational purposes.
I am using the Multi-plot real-time chart example program (link below)
from the NI website. I have changed your example for the chart to
display the data in the stacked plot mode. How could I modify it to
vary the number of traces dynamically. Is this possible? My goal
would be to use a series or radio buttons to control viewing 4, 8 or
16 channels, in real time. All of the code and programs I have seen
have channel display statically in the begining setup. Is there a
property node of the chart that controls this?

Thanks
John

http://zone.ni.com/devzone/explprog.nsf/6c163603
265406328625682a006ed37d/5ac3fd88cb3815f086256657007542ee?OpenDocument
0 Kudos
Message 1 of 2
(2,251 Views)
To accomplish your goal, the example VI needs to be modified a little bit. I've made one such modification and attached the modified file. I hope it helps. Please note that nothing shows on the Front Panel Until you press one of the control buttons.
0 Kudos
Message 2 of 2
(2,251 Views)