LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to merge plots from charts?

I plot several different plots (different t0 & dt) to the same chart, in order to combine them to one plot.

then, when I try to use this new combined-plot by sending it using a variable to another chart, I only get the last piece.

 

Can anyone tell me how can I solve this?

0 Kudos
Message 1 of 7
(2,964 Views)

can you post the code which you are using?

0 Kudos
Message 2 of 7
(2,961 Views)

here's an example:

 

on this VI you can see Chart 1 that holds two grpghs, inserted on seperatly. Chart 3 has only one graph.

When I try to display Chart 1 & 3 on Chart 2 (the big one), only the last graph I inserted to Chart 1 is displayed.

 

Cany anyone help me figure out why?

0 Kudos
Message 3 of 7
(2,955 Views)

Hi,

 

You are losing the first data in the big chart because, you are not holding the first data value anywhere. You can use shift register for holding the previous data. Check the attached example. This must help you. 

Regards,

NitzZ

(Give Kudos to good Answers, Mark it as a Solution if your problem is Solved;)) 

0 Kudos
Message 4 of 7
(2,950 Views)

Hey,

 

I use LabVIEW 8.5, and this vi comes from a newer version.

Can you save this as an older version?

 

Thanks!

0 Kudos
Message 5 of 7
(2,944 Views)

Hi,

 

This is in 8.5

 

Regards,

NitzZ

(Give Kudos to good Answers, Mark it as a Solution if your problem is Solved:smileywink:

0 Kudos
Message 6 of 7
(2,925 Views)

Almost there!

 

In the VI you uploaded, the two plots on chart1 are now on two different channels (the white and red).

is there a way of doing exactly what you did, but keeping all the plots on chart1 on the same channel?

 

Thanks!

0 Kudos
Message 7 of 7
(2,923 Views)