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: 

Several charts with one x-axis

Solved!
Go to solution

Hi everyone Smiley Happy

 

Here is my question: currently I have 4 separate waveform charts having the same x-axis (current date and time).

What I want to do is to plot these 4 waveform charts one above the other with only a single x-axis at the bottom, is it possible?

I don't want the 4 curves on the same chart.

 

Thank you in advance for your replies and have a nice day!

0 Kudos
Message 1 of 8
(2,730 Views)

Have you tried to wire a 4 element cluster to the y axis of the chart?

Message 2 of 8
(2,718 Views)

make an array of waveforms of it and try the mixed signal graph

right click in the plot area and add plot areas

you can distribute the plots on the graphs via drag and drop at the legend or by property notes

 

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


Message 3 of 8
(2,698 Views)

maybe this will help...

Spoiler
Main.png
Message 4 of 8
(2,690 Views)

Hi Rafale,

 

You can just bundle the signals with a bundle function like this:

 

bundle Charts.png

 

On the front panel, right click the chart and select stack plots. The multiple plots in the chart will now be shown in multiple plot area's within the same chart with only one X-axis.

 

Let me know if this is what you mean and wheter you have any questions left.

 

Regards,

Rik Prins, CLA, CLED
Software Development Engineer
Message 5 of 8
(2,671 Views)
Solution
Accepted by topic author rafale350

Hi Rafele,

 

Little addition to my previous post. See the solutions for a waveform datatype below:

 

Chart_waveform.png

 

 The build array function needs to be set to concetenate inputs.

Rik Prins, CLA, CLED
Software Development Engineer
Message 6 of 8
(2,666 Views)

Thank you for your answers!

 

Problem solved! Smiley LOL

0 Kudos
Message 7 of 8
(2,653 Views)

Any time! Good luck with the rest of your application.

Rik Prins, CLA, CLED
Software Development Engineer
0 Kudos
Message 8 of 8
(2,645 Views)