For data acquisition via sound card LV utilised Windows drivers. But in Win sound card has no higher priority as I guess, so if Win decides to do his own internal tasks, LV slowed down and has not enough time to read and treat all Sound input buffer and it is owerwrited. That leads to "Device Engaged" error and NAN on input until VI (or even all LV) shutted down (SIclear.vi is not helps). But I need to read the data for an hours as reliable as with real ADC. Is it possible to change the Sound Card priority in Windows by LV tools? Or: Is any way to clear sound input programmatically after "
owerwrite" reported?
Best regards,
Stas