Quantcast
Channel: Machine Vision topics
Viewing all articles
Browse latest Browse all 1268

temporary connection loss recovery for GigE

$
0
0

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:

  1. Any thoughts on why this works?
  2. Do all gige cameras support the register read interface? Is this actually a safe recovery process?
  3. Is there a better/different way to detect this condition?

Viewing all articles
Browse latest Browse all 1268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>