LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How Can I Save and Reload Graph Data?

Hi,

 

I'm working on a project that allows a user to measure forces on a vehicle. The user sees the results by examining an X/Y chart relating weight to time. I want my user to be able to load data from previous tweaks and decide which one they want based on the chart.

 

I need to do a couple of things:

a. save the data to a file (I dont care what format)

b. load the data from the file

c. display the data in the graph as it originally appeared

 

How can I accomplish this?

 

Thanks,

Joe

0 Kudos
Message 1 of 2
(2,021 Views)

As the graph indicator onky displays data you pass to it (terminal!), the data itself is within the program/block diagram.

You can use any approach of easy to implement this (not much flexibility and runspeed performance here....) or you dig into professional programming skills and write a well designed (and documented!) file handler to write and read those files, depending on the user interaction.

 

The easy way can use "Write to Measurement File" and "Read from Measurement File" express VIs.

 

hope this helps,

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 2
(1,992 Views)