Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

GigE camera error

I am use a GigE camera to grab an image and do some analysis. the frame rate is ~150FPS (640X250). after a while I get an error message "An exception occurred within the external code called by a Call Library Node. This may have corrupted LabVIEW's memory. You should save any work to a new location and restart LabVIEW...." and the error the vi occured is not always the same.
 
 
I have been use a firewire camera with 50FPS and never had any problem.
0 Kudos
Message 1 of 4
(3,520 Views)
Engineer,

What camera are you using? Can you duplicate this problem with the shipping Grab example? If not, would it be possible to send a snippet of code that reproduces this problem?

Regards,

JohannS
0 Kudos
Message 2 of 4
(3,496 Views)

I am using a Basler piA640-210gm

Here is the error message.

 

 

I am also monitoring the execution time of each frame, and shown in the figure, the vertical axis is the excution time and the horizontal the frame number. Anybody have an idea why the time change this much, I am not touch the mouse or anything.

0 Kudos
Message 3 of 4
(3,488 Views)
That is rather strange. The spikes in the frame delta suggests that you are dropping packets and its taking longer to complete a frame due to resend requests. Can you monitor the following attributes:

Status Information >> Requested Resend Packet Count
Status Information >> Received Resend Packets
Status Information >> Lost Packet Count

This should get us an idea if the camera is dropping packets. And if the packets are being dropped, then you can monitor how much packets are successfully being resent.

My experience with the Pioneer is that it use a lot, if not all, of the available bandwidth. Try adjusting some parameters to lighten the network payload.
  • Reduce width and height for a smaller ROI
  • Increase packet size to use jumbo frames (4000+ bytes)
  • Only connect a single camera to a port
  • Decrease frame rate
Hope this helps,

JohannS

0 Kudos
Message 4 of 4
(3,457 Views)