LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Does anyone know how to stack plots by group? I'm struggling. Read below to better understand what I mean (VI attached)

Solved!
Go to solution

I know how to stack plots individually as shown below.

GRCK5000_0-1694656132927.png

 

This below is what I would like to achieve but I just don't know how to go about achieving it. I want to group voltages in one chart and all the pressures on another chart. Both charts will be sharing the same x-axis (time). 

 

GRCK5000_1-1694656181202.png

 

 

 

0 Kudos
Message 1 of 5
(1,101 Views)
Solution
Accepted by GRCK5000

Hi GRCK,

 


@GRCK5000 wrote:

I want to group voltages in one chart and all the pressures on another chart. Both charts will be sharing the same x-axis (time). 


Use two charts…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 5
(1,060 Views)
Solution
Accepted by GRCK5000

it is definetly easier to use two charts as Gerd suggested.

but, you may consider a mixed signals graph using two groups.

 

note, this is a graph not a chart, so you need to built a buffer inside the loop for each plot to mimic a chart.

 

furthermore, you have to manually drag and drop plots from one group to another.

also, scaling a mixed signal graph is tricky compared to the usual graph and charts

 

 

1# set-up your .vi like this

 

Spoiler

alexderjuengere_0-1694693418330.png

 

 

2# spawn a fresh mixed signal graph and connect it to the last bundle array node

 

Spoiler

alexderjuengere_1-1694693496117.png

 

3# run the .vi once

 

Spoiler

alexderjuengere_2-1694693518821.png

 

4# spawn group 1 by rightclick> add plot area

 

Spoiler

alexderjuengere_3-1694693598464.png

5# resize the mixed graph area height  via Properties>Apperance from 219 (default) to 482

 

 

Spoiler
alexderjuengere_4-1694694053276.png

 

6# drag and drop plot 0, 1 , 2 into group 1

 

Spoiler
mixed signal.gif

 

 

Message 3 of 5
(1,033 Views)

Thanks Gerdw! This will definitely work. 

0 Kudos
Message 4 of 5
(1,001 Views)

Thanks Alex! Your strategy is amazing. Also I like how you are showing the steps to get this done. Awesome!!!

0 Kudos
Message 5 of 5
(999 Views)