LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I replay data in Labview

Hi guys, this should be an easy one! I want to record data and then be able to replay it. Can someone show me how? Thanks

0 Kudos
Message 1 of 3
(3,708 Views)

Depends - does your data have a timestamp? If yes, then you can build an XY graph using the timestamp for X values and update according to the data sample rate. If you don't have a timestamp column, you can load the data and build the graph at whatever loop rate you desire. If you have a large file, you should load chunks of data at a time and build your graph.

0 Kudos
Message 2 of 3
(3,699 Views)

SignalExpress will do this for you without any programming.  If you have a LabVIEW license, you have a SignalExpress license (for the same year).

 

If you want to do it yourself, the easiest way would be to use either TDMS or LVM file formats.  These both allow you to stream data to disk and to play it back easily.  They handle just about any type of data you may use (array, waveform, scalar, integer, double, etc.) and store the information needed to retreive it correctly.  Use TDMS if you want speed, LVM if you want compatibility with other programs (e.g. Excel), since LVM is a tab-separated text file.

 

Consult the LabVIEW examples for how to use each file type.

0 Kudos
Message 3 of 3
(3,678 Views)