ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

chart-question

Hello!

We are using a waveform chart and we like to be able to change the look of the chart with a menu-ring. You should be able to choose between “stack plots” and “overlaid plot”.
Does anyone know how to do this?
We have a solution with two charts but they start to draw the signal where it stopped last time. We want it to be a continuously measuring so that’s why we need a solution with only one chart.

Best regards.
0 Kudos
Message 1 of 3
(2,683 Views)
Hi,

letz try with this VI.
TN

Message Edited by TN on 04-01-2005 06:01 AM

Message Edited by TN on 04-01-2005 06:03 AM

Message Edited by TN on 04-01-2005 06:06 AM

Download All
0 Kudos
Message 2 of 3
(2,683 Views)
As you found it, it is not possible to change a chart from overlay to stacked during execution. Using 2 charts and making only one visisble is a simple workaround. To maintain the plots continuity, there are two possible solutions :
1/ copy the data from one chart to the other when switching charts
2/ simply plot the data on both charts at the same time.

Solution 2 seems to require more memory. However, a dual 1000 points (Dble precision floats) takes only 16 ko of memory space...

CC
Chilly Charly    (aka CC)
Message 3 of 3
(2,654 Views)