LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

problem creating waveform graph

hi folks,

I got a problem in LabView as follows:
During a measuring procedure I saved all the data using a textfile.
That is, the left column contains the timesplits dt and the other 3 columns
contain
the belonging data. Consequently I measure three different types of data,
each at the same time.
For example:

dt data1 data2 data3
0.324 4 2 7
0.312 4 5 6
and so on...

There is function within LabView that allows you to create a waveform graph
defining
the x-axis(time-axis) by yourself. But in that case the dt has to be a
constant value.
In my situation the dt differs in each reading. Is there any possiblity to
create a
waveform graph using these different timesteps?

thx for your answers,

Chris
toph
0 Kudos
Message 1 of 2
(2,918 Views)
Christoph,

This sounds like a job for the XY Graph. Check out the "How to Use the XY Graph" example that ships with LabVIEW to see how to wire your data up to the XY Graph object. The shipping example also appears here on the NI DevZone site:

http://zone.ni.com/devzone/explprog.nsf/6c163603265406328625682a006ed37d/e731604b56794fcc8625685400697382?OpenDocument

Assuming you can work a bit with the array manipulation primitives, you should have no problem.

Regards,
John Lum
National Instruments
0 Kudos
Message 2 of 2
(2,918 Views)