RingBuffer Control 14.0
Enumerations

Enumerations

enum  LockMode { LOCKMODE_AUTO = 0 , LOCKMODE_OFF = 1 , LOCKMODE_ON = 2 }
 Lock mode of the ring buffer control. More...
 

Detailed Description

Enumeration Type Documentation

◆ LockMode

enum LockMode

Lock mode of the ring buffer control.

Enumerator
LOCKMODE_AUTO 

The driver will automatical lock (when a buffer has been filled by an acquisition) and unlock (when the corresponding ImageSnaped event returns) buffers.

LOCKMODE_OFF 

Don't lock buffers at all. Simply acquire into the ringbuffer and overwrite the image data.

LOCKMODE_ON 

Don't unlock buffers automatically. The buffer has to be unlocked manually using Unlock method to enable a new datatransfer into that buffer.

Attention: If all buffers are locked the system looses images. Using this mode it's possible to write a very high speed sequence into memory by simply start a grab with lockmode set to ON, wait for a certain time till all buffers are locked and then stop the acquisition.