Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Data Acquisition VI

Hi

My data acquisition project graphically displays voltage measurements on a waveform chart, as they are being taken using a USB MicroDAQ-lite. The measurements are, at the same time, exported to an excel spreadsheet file for storage. Later these measurements are graphically 'played back' reading from a stored spreadsheet file using a "Playback VI".
The problem is that, my 'Playback VI' doesn't display the exact graph that was displayed during the measurements and doesn't seem to read row-by-row of the spreadsheet file.
What I want during 'playback': - same graph I was measuring to be displayed at the  same speed.
 - the 'Playback' VI to read row-by-row of a spreadsheet file.

Please assist
Mkhuseli Makhambi
email: makhambim@webmail.co.za 

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

You haven't given very much information since you did not post the file or your VI. First, the file has to contain the timing information. If you have the file in text format, you would use Read From Spreadsheet File to get the Y data and the dt information. The Y array would be wired into a for loop and the dt would be wired to a delay function inside the loop.

 

It makes no sense to read the file line by line. It's much easier to read the entire file at once and control the rate at which you index the values from the array.

Message 2 of 2
(2,961 Views)