LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to use AI acquire waveform.vi for continuous acquisition

Hello all,

I am using LabVIEW 5.1 and PCI-6023E to acquire a voltage signal continuously, display the acquired data on a chart(display one minute of data at a time)then save all the acquired data to a spreadsheet file.

When I used the random number as a signal to develop my program; everything has worked as expected. However,it is not working now as I replace the random number with a real voltage signal using the AI Acquire Waveform.vi. I have encounterd several problems:
1/ Only display one second of data at a time.
2/ The elapse time that I have calculated does not match with the time display on the chart.
3/ The program runs very very slow when I increase the number of scans
to acquire to 1000, but my program need to acquire the signal for 15 minutes at a rate of 50Hz(50sample/second); it is about 50,000.00 samples.

Do you have any idea how should I do to make it works? I am a novice in LabVIEW; any help would be greatly appriciate.

Hao
P.S: I've attached my program if you want to take a look at them.
Download All
0 Kudos
Message 1 of 4
(3,140 Views)
Hao,

Check the examples that ship with LabVIEW for some insight into continuous acquisition.

Good luck.
0 Kudos
Message 2 of 4
(3,140 Views)
Helleo Labviewguru,

Yes, I did tried to see those examples but I could not display on a chart nor store to an array and save to a spreadsheet file when I used the AI Config.vi, AI Start.vi and the AI Read.vi(in a while loop). Can you please help me with this.

Thank you in advance.
Hao
0 Kudos
Message 3 of 4
(3,140 Views)
Check out the reply I gave on your other thread.

Andrew
0 Kudos
Message 4 of 4
(3,140 Views)