I'm using NI-IMAQ for Visual C++, and I have some standard code using a ring buffer that I have used for years (taken straight from NI example code). This code still works fine with the IMAQ 1407 and 1409. It works for bit-depths of 8, and 10 pixels on the 1409.
However, It has recently failed with an IMAQ 1422 with a 12-bit camera. It fails when calling imgRingSetup, and returns:
wait timed out - acquisition not complete
Can anyone tell me what might cause imgRingSetup to return such an error? There is no acquisition in progress at the time of failure, I have verified that with other "img" API calls. Is there something about the 1422 that uses a ring buffer differently?