Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

TimeStamp

Hi,

at the moment I am using a buffer acquisition and always acquire the next buffer (see attached block diagram).
I also monitor the number of lost frames and it seems I do not loose anything.
Still, however the interval between frames is sometimes longer.

It must have to do with the way I trigger .....
W.

0 Kudos
Message 21 of 24
(1,022 Views)

Hi ratus,

 

There are two ways to miss images. They can be dropped by the driver due to not being able to keep up (the Lost Buffers count you were querying) or they can be skipped by your processing code. Since you are acquiring the "Next" image you can easily skip processing images (it always waits for the last received buffer number +1). If you want to get every image without skipping them you'll want to use the "Buffer Number" mode on Get Image. Furthermore, the default behavior is that if an image you requested is not available (because you are not keeping up) it will give you a newer buffer instead. You can monitor this by watching the output buffer number. Alternatively, you can change the overwrite mode attribute to have IMAQdx return an error if the buffer number requested is not available.

 

Eric

0 Kudos
Message 22 of 24
(1,015 Views)

Well the block diagram specifies that I acquire the "Buffer Number"+1 (sse previous post).
W.

 

0 Kudos
Message 23 of 24
(1,011 Views)

 


@ratus wrote:

Well the block diagram specifies that I acquire the "Buffer Number"+1 (sse previous post).
W.

 


 

 

Compare the buffer number returned to the one passed in.


Eric

0 Kudos
Message 24 of 24
(1,009 Views)