LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with graph.....

Hi,
   I've a problem with the graph....i got the graph output, but i need something different. I shud run the labview program once and get the graph.I'm ok with my program till this point. But after stopping the program once,the graph should continue from previous point itself when i run the program again...But this is not what is happening...The graph clears the whole data when i run the program again for second time..So what shud i do to get the graph from the point where it is stopped...Anyone please help me out...Thank you guys.
0 Kudos
Message 1 of 7
(2,889 Views)
Maybe you want to use a chart instead of a graph?
0 Kudos
Message 2 of 7
(2,887 Views)
No i dont need the chart.... The previous graph should be present there and the present graph should continue the previous graph...But in chart only new data points will be shown in the graph....
0 Kudos
Message 3 of 7
(2,884 Views)


@Kranthi wrote:
But in chart only new data points will be shown in the graph....

Only if you data is less/equal the chart history length.

Also don't forget to set the x-scale range (e.g. set it to autocale to see all the data in the buffer).

 

Why don't you attach a simplified example of your VI. What kind of data are you graphing (# of points, #of plots, array, waveform, dynamic data, etc.).?

0 Kudos
Message 4 of 7
(2,875 Views)
I'm interfacing pH meter and syringe pump with my program and drawing the graph for volume versus pH. But the syringe is only 10 ml. So i should get more liquid into syringe and run the program again if i need graph for 20 or 30 ml. I'm attaching my sample project here. I had a chart for only pH meter. But while connecting both instruments i used graph. Here is my attachment.
0 Kudos
Message 5 of 7
(2,868 Views)
can anyone give me the solution for the problem...........
0 Kudos
Message 6 of 7
(2,843 Views)
Hi, Kranthi.

If you want the old signal to remain in the graph after you stop and restart the VI, you'll need to store your old signal and then load it again when the VI starts for the second time. You can do this using the Write/Read LabVIEW Meausrement File Express VIs.

Let me know if you have any trouble with this. Have a nice evening!
Sarah K.
Search PME
National Instruments
0 Kudos
Message 7 of 7
(2,816 Views)