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: 

Programatically stack plots on a waveform graph

Has anyone been able to solve this mystery? Please help.

0 Kudos
Message 1 of 8
(3,766 Views)

I guess that I am not completely sure what you are looking to do? Do you want multipule plots on a single graph or do you want stacked graphs that display data for one curve? You should be able to do either of these but it would be helpful to understand what you are looking to do.

Tim
GHSP
0 Kudos
Message 2 of 8
(3,759 Views)

I can do multiple plots on a graph, but I want to do a stack where I can bring all the plots to the same baseline if I want to do a comparison for example. More like stacking them on top of each other where they would technically overlap on each other.

0 Kudos
Message 3 of 8
(3,737 Views)

Hello,
Have you tried to create an array with all the plots data before sending them to the graph?
Also this information might be helpful for you.

Here it is a way to handle Stack Plots or Overlay Them in a Waveform chart.
http://digital.ni.com/public.nsf/allkb/337A2E830D32A7E3862570540067AB1B
https://decibel.ni.com/content/docs/DOC-40940
http://digital.ni.com/public.nsf/allkb/349EE116C9008E39862574FE005AF617

Check out this information also:
http://forums.ni.com/t5/LabVIEW/How-to-stack-plots-using-Waveform-Graph/td-p/329917
http://forums.ni.com/t5/LabVIEW/Overlay-serial-data-over-stored-waveform-in-waveform-chart/td-p/2717...


Luis Garcia
National Instruments

0 Kudos
Message 4 of 8
(3,653 Views)
Do you just want to remove different dc offsets of your channels? That's just an add/subtract once you find the offset.
0 Kudos
Message 5 of 8
(3,636 Views)

I am able to do that.  i guess when i remove the offset i expected them to have similar baseline. 

0 Kudos
Message 6 of 8
(3,584 Views)
If you remove the dc offset, then the baseline for each should be about the same. Similar to doing an acquisition with ac coupling though not quite as precise on my experience. Show how you are calculating the offset. How much difference in the baseline are you actually seeing?
0 Kudos
Message 7 of 8
(3,576 Views)

This is how I do my offset and stack

0 Kudos
Message 8 of 8
(3,512 Views)