Hi, I'm trying to cover all my bases for a long running application and there is a failure condition that is difficult to detect. In particular, if you trip over a cable Imaqdx will eventually detect that the camera is gone and generate the appropriate error. However, if you trip over the cable and plug it back in fast enough (or if, as is the case for me, the clip breaks off and you quickly pull out the cable and push it back in), it simply times out...forever. Even with the camera plugged back in. In my application, the cameras are externally triggered, so a timeout is pretty meaningless. Nevertheless, I tried restarting the acquisition, which generated a different error, so thats something at least. Through trial an error, I discovered that if I attempt to call "read register2", then restart the acquisition, it recovers. If I just read the register, it continues to timeout, and as I said if I just restart I get an error. Something about that chain works.
My questions:
- Any thoughts on why this works?
- Do all gige cameras support the register read interface? Is this actually a safe recovery process?
- Is there a better/different way to detect this condition?