03-31-2011 07:05 AM
Can anybody help me? Please?
Has anybody got a solution?
What I want to do is to add points on a XY_Graph with 2 curves.
Input data (I have got a file and a constant as input for the graph):
- One Data from a text file:
1044.25 23/03/2011 17:31:00
(The file is updated by an another computer on the network with new values (only one pressure value and one date on the file) and the time step (interval between date is not a constant))
- The other data on the graph is a constant 1013.24 (for example)
Output data (What I want to display with LabVIEW)
With the first data (from a file) I “build” the GRAPH. (Graph of 2 curves with points not equally space on the x axis/ time axis).
Then when I want to add a new data on the graph (and keep old data). (I get a new value (from a file) each 20 second or 1 minute for example)
I do not find a solution to add this new data on the XY GRAPH.
=> Refer to the simulation of data on the following VI “Graph_XY-Simulation-of_data_for_help.vi”:
Problem I have got:
Not possible to add the new point to the graph and keep the old points on the XY GRAPH.
Refer to the VI for the comment.
03-31-2011 07:32 AM
I think you can see a basic example of what you want here - http://forums.ni.com/t5/LabVIEW/displaying-large-amounts-of-data-strategies/m-p/704916?view=by_date_...
03-31-2011 08:55 AM
When you first read your file, put your arrays into a shift register.
The next time you read the new values, build them with the data already in the shift register, and update your graph.
Shoud work like a charm