I am writing an app which requires a VU meter type display of the signal on the mic input (8bit 44100Hz). To aquire the data I call SI Config, SI Start, wait 5ms, SI Stop, SI Read and then SI Clear.
If I call SI Config once, loop the Start, Read, Stop section and then call Clear, the buffer size in SI Config has to be enormous (~16000) where for a stereo signal with a record period of 5ms it should be about440.
If I loop the whole thing and call SI Config and SI Clear before and after every aquisition, the buffer size can be more reasonable, but after a while I either get "ERROR # 3 'memory.cpp' line 563" and LabView is shut down or if I try to open another windows app li
ke Explorer, I get a "Not Enough Memory" error.
I have attached some sample code.