LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NO OF SAMPLE SHOULD BE GREATER THAN ZERO

I have been trying to take input from mic port of the pc and also generating signal from signal generator from LabVIEW, for further processing

Now the problem is that while signal is generated from the generator while processing, and now if the source for processing is switched to mic port then the above error occurs "no of samples should greater than zero-error200003" or sometimes the following error,

 

Error 4823 occurred at Sound Input Read (DBL).vi->1.vi

 

Possible reason(s):

LabVIEW:  (Hex 0x12D7) The desired operation cannot be performed without an active task.  Please ensure that a task is active and try again. An input task may stop running if the input buffer overflows. This occurrs when the data is not read fast enough.

 

i have attached the vi below,

i would appreciate any suggestion

0 Kudos
Message 1 of 3
(2,579 Views)

That is quite normal, you start the acquisition task and the buffer will fill, now when you switch to signal generation the buffer will overflow and when you try to read data again you will get an error.

The generated error is not the correct one, but the fact you get an error is not a bug.

 

Ton

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 2 of 3
(2,575 Views)

i just had the hint that buffer will overflow but what can be the possible solution for it ,

kindly reply

0 Kudos
Message 3 of 3
(2,560 Views)