NI Labs Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Sound Input read

Hi,

I am implementing an real time algorithm for which i read a sound frame, and process the last frame read , using shift register.(continous sound read)

i configure the sound input using "sound configure" outside the while loop, read using 'sound input read.vi', and, finally, clear the buffers

using 'sound input clear.vi' outside the While loop. the problem is, sometimes, for the first while loop iteration itself,

sound input read.vi gives the error " invalid task id"( error and screenshot of the code  attached). and i make the program stop on that. soentimes, it runs fine for 10 min, 20 min, or

any amount of time.

why is this happening? is it something related to PC memory?

I am using the VI, with FPGA VI using host ,FPGA VI DMA communication.Is this due to DMA ?

thanks

Download All
0 Kudos
Message 1 of 1
(3,364 Views)