[aravis] Re: JAI Go USB stops acquiring frames

  • From: Emmanuel Pacaud <emmanuel.pacaud@xxxxxxxxxxxxx>
  • To: aravis@xxxxxxxxxxxxx
  • Date: Sat, 31 Mar 2018 11:50:39 +0200

Hi Chris,

Le jeu. 29 mars 2018 à 19:17, Chris Johnson <chris@xxxxxxxxxxxxx> a écrit :

I'm new to aravis and am using it with a JAI Go-5000C camera over USB. With some minor changes to arvcamera to accommodate the way that frame rates are set, this is working well for the most part.

Could you share your changes, please ?

However, I'm getting an intermittent error during a capture, where the camera sometimes seems to stop acquiring frames, rapidly leading to arv_stream_timeout_pop_buffer failing by returning NULL.

This always happens if there is a buffer underrun, but also intermittently at other times during a continuous capture. After it has occurred, the camera will not acquire frames again until it is unplugged and plugged in again -- even if the program is restarted.

Probably a USB transfer error that blocks any further action. Could you try to run your software with ARV_DEBUG set to 'sp:3':

export ARV_DEBUG=sp:3

Thanks.

Cheers,

   Emmanuel.


Other related posts: