Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

chart displays real quick

I am using buffered data acquisition and i acquire at the rate of 20,000 samples per second and i write my data to a binary file. The problem is I view my data in a chart when recording the data. The chart is too fast, I want to reduce the speed of the chart say at around 2000 samples per second but i want to record data at 20,000 samples per second. Is there a way so that the chart displays my data at a slower pace?

Thanks,
Oxygen
0 Kudos
Message 1 of 9
(3,279 Views)
An option that you have is to decimate the data (for plotting purpose ).
Say, plot and skip every other 5 points.
doing like that, you may use the

Decimate array function

from the array pallete
0 Kudos
Message 2 of 9
(3,271 Views)
Dr Imad,

Thanks f0r that solution, before i try that do i have to store my data into an array and then do i have to decimate it. Or can i just use the decimate array function?? I tried using it and my waveform looks wierd.

Thanks and Regards
Oxygen
0 Kudos
Message 3 of 9
(3,260 Views)
see attached vi.

just pass the data array to the decimate function as illustrated.
0 Kudos
Message 4 of 9
(3,258 Views)
In the Decimate array.vi, if using the waveform version, the DT = n*(DT of orginal waveform),
where n is number of points to decimate
0 Kudos
Message 5 of 9
(3,237 Views)
 
0 Kudos
Message 6 of 9
(3,236 Views)
 
0 Kudos
Message 7 of 9
(3,236 Views)
Dr Imad,

I have a problem opening it, I have labview 7.0 but it asks for labview 7.1 Do u have a compatable version that can work in Labview 7.0

Thanks
Oxygen
0 Kudos
Message 8 of 9
(3,237 Views)
here it is in 7.0
0 Kudos
Message 9 of 9
(3,229 Views)