LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Keep the previous graph when you start a new measure cycle

This code is a subvi of a bigger VI. I work with a keithely 236 and I define the start level and the stop level of the source. The source and measure arrays update in real time and are plotted in the xy graph that works as an "xy chart"

0 Kudos
Message 11 of 16
(119 Views)

@-Isabella- wrote:

This code is a subvi of a bigger VI. I work with a keithely 236 and I define the start level and the stop level of the source. The source and measure arrays update in real time and are plotted in the xy graph that works as an "xy chart"


 

If you also want to graph completed historic data, it is no longer really a "chart".  My code skeleton can be easily adopted to your requirements. Do you understand what it does?

0 Kudos
Message 12 of 16
(114 Views)

Thank you for the patience, but sandly i don't know how to adapt your code to mine. Could you explain that to me?

 

0 Kudos
Message 13 of 16
(108 Views)

@-Isabella- wrote:

Thank you for the patience, but sandly i don't know how to adapt your code to mine. Could you explain that to me?


There is insufficient information to give more specific help.  How do you implemented this as subVI and how it is called from the main VI? Is the data read in the caller or in the subVI? How is it called? What happens between individual measurements? Your example has no connectors assigned.

0 Kudos
Message 14 of 16
(95 Views)

This is my main VI and the subvi that I've showed is called Write and graph

0 Kudos
Message 15 of 16
(78 Views)

You forgot to "save for previous".

 

0 Kudos
Message 16 of 16
(73 Views)