LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Time taken for SIClear to clear input buffer

I am using a soundcard as a low cost DAQ device. I am having trouble with SIClear.vi, in that it's taking ~25s to clear 9s of mono input data taken at 11kHz and 8bits per Sample. This is (largely) independent of how many other things I have running on the computer.

Why does it take this long? Does anyone have any hints on how to speed it up?

Thanks
Ross
0 Kudos
Message 1 of 2
(2,199 Views)
Ross,
I can advise you to check that you have appropriate size of input buffer.
Another thing that ussualy I work with SoundCard in the next sequence:
SIConfig - SIStart - SIRead - SIStop - SIRead - SIStop-SIClear.
The first "SIRead - SIStop" I use to read useful data, and the second "SIRead - SIStop" I use to empty the buffer before SIClear.
Hope it will help you.

Oleg Chutko.
0 Kudos
Message 2 of 2
(2,199 Views)