Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

GIGE camera "removed" when using IMAQdx or NIMAX

I have an Allied Vision GIGE camera: when using the manufacturer's SW or 3rd party apps we can stream images continuously without problem.  When access the camera from NIMAX or labview code with IMAQdx functions, I lose communication with the camera and after a period of time getting images from the camera.  After a short period of time the LV App stops and we get the error:

 

Error -1074360308 occurred at IMAQdx Get Image2.vi "Camera is Removed"  (or similar depending on which IMAQdx vi i'm using to access the camera)

When this happens the camera is no longer visible on the network (to any app) and the camera needs to be rebooted to reconnect.  The odd part is this only happens when accessing the camera from labview or NIMAX.  Camera runs fine with non NI apps, but something about the interaction with labview causes the camera to stop communicating when images are being transferred.  It is noted that the slower the frame or data rate the longer this takes to happen,  but it eventually it does happen in any configuration I've tested.

Same behavior is observed with both Labview 2019 sp1 and 2023, and with multiple routers/switches. firewall on/off, etc.

 

I'm using the NI high performance GIGE driver, have repaired and reinstalled LV, and yes Jumbo packets is on.

Similar behavior has been reported on a couple of other threads, but not recently and without resolution.  

 

Thoughts?

A vi that produces this behavior is attached.  

0 Kudos
Message 1 of 3
(115 Views)

Hello PESobol,


We had a similar problem. We use AV and Basler cameras.
In my case, it turned out that the cameras sporadically do not respond to the ICMP “ping” from the switch when the Ethernet load is too high.
In WireShark I could see the ICMP message destination unreachable as a response from the switch. I am not a network expert, but I think that switches try to check periodically if the devices on the ports are still there. If there is no response, the device is marked as not present. I was able to solve the problem by limiting the bandwidth on the cameras. I also deactivated all unused protokolls for the NIC.

 

I hope it helps!

 

P.S.
We have another rather strange problem with AV cams.
Suddenly a LV camera program starts to show  same three images in an endless loop. The devil of it is that it looks to the laser operator like something is changing...  If you experience the same thing, please let me know.

0 Kudos
Message 2 of 3
(85 Views)

Thanks- that makes sense because the camera can't be seen by any device after the failure. I also note that the LV functions result in much higher bandwidth utilization (2-3x) than the using the camera manufacturers app for the same image settings/format.   I'll pose it to the network folks.

Thanks again!

0 Kudos
Message 3 of 3
(71 Views)