LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Would like to store data in file for timing purposes

I have written this code in labview and is working like it should. It takes data of two transducers (analog signals) mounted 1.5 m apart.

 

The goal is to find out a precise time between the two rising edges. (attached pic)

 

I have collected two waveforms, one from transducer 1 and one from transducer 2.  Element 0 of the waveform array is the data from transducer 1.  Element 1 is the data from transducer 2.

Both waveforms contain timing information as part of their datatype.

 

I have tried to store the data as a txt file, but it only stores the last result of each transducer.

 

I would like to store the data, and process it in matlab to find a precise time between the rising edges or can this be done in the same VI I have created? 

 

Any help is appreciated. 

Download All
0 Kudos
Message 1 of 2
(2,356 Views)

Use the "Write to measurement file.vi" and "Read from wavefrom file.vi "found in the "Programming->Waveform->Waveform file I/O pallete" for saving and retrieving the acquired data.

 

note that the file hence created will not be in the human readable form.

 

The precise rising time computation can also be done using labVIEW. Apply the same logic that you have done in matlab to create a subvi in LabVIEW\

 

 

Guru

Regards
Guru (CLA)
0 Kudos
Message 2 of 2
(2,339 Views)