Functions | |
void | AboutBox () |
Displays the About box of the Common Vision RingBuffer Control. More... | |
__int3264 | GetBufferImage (long BufferIndex) |
Returns an image representing a buffer at a given index. As the buffer are acquired in a sequence you may have to get the index based on the sequence number using the GetBufferSequence method. More... | |
long | GetBufferSequence (long SequenceNumber) |
Returns the buffer index for a given sequence number. As the ringbuffer is filled automatically the index of a buffer does not necessarily correspond to the timewise sequence in which the images have been captured. E.g. the SequenceNumber 0 returns the index of the last acquired buffer. SequenceNumber NumBuffers-1 returns the 'oldest' image in the ringbuffer. More... | |
double | GetTag (long BufferIndex) |
Returns a tag of a buffer at a given index. A tag represents some optional and additional information that is tagged to the image such as a configuration information for this specific image on Silicon Software frame grabber. As the buffer are acquired in a sequence you may have to get the index based on the sequence number using the GetBufferSequence method. Tags may not be supported by every image acquisition device driver. More... | |
double | GetTimestamp (long BufferIndex) |
Returns a timestamp of a buffer at a given index. As the buffers are acquired in a sequence you may have to get the index based on the sequence number using the GetBufferSequence method. More... | |
boolean | IsLocked (long BufferIndex) |
Checks whether a buffer is locked or not. More... | |
boolean | Unlock (long BufferIndex) |
Unlocks the buffer at the given index. You have to unlock the buffers of the ringbuffer if you use the LOCKMODE_ON mode (see LockMode). More... | |
__int3264 GetBufferImage | ( | long | BufferIndex | ) |
Returns an image representing a buffer at a given index.
As the buffer are acquired in a sequence you may have to get the index based on the sequence number using the GetBufferSequence method.
[in] | BufferIndex | The index of the buffer you want to access. |
long GetBufferSequence | ( | long | SequenceNumber | ) |
Returns the buffer index for a given sequence number.
As the ringbuffer is filled automatically the index of a buffer does not necessarily correspond to the timewise sequence in which the images have been captured. E.g. the SequenceNumber 0
returns the index of the last acquired buffer. SequenceNumber NumBuffers-1 returns the 'oldest' image in the ringbuffer.
[in] | SequenceNumber | The sequence number defining the sequence in which the buffer was filled. |
double GetTag | ( | long | BufferIndex | ) |
Returns a tag of a buffer at a given index.
A tag represents some optional and additional information that is tagged to the image such as a configuration information for this specific image on Silicon Software frame grabber. As the buffer are acquired in a sequence you may have to get the index based on the sequence number using the GetBufferSequence method. Tags may not be supported by every image acquisition device driver.
[in] | BufferIndex | The index of the buffer you want to access. |
double GetTimestamp | ( | long | BufferIndex | ) |
Returns a timestamp of a buffer at a given index.
As the buffers are acquired in a sequence you may have to get the index based on the sequence number using the GetBufferSequence method.
[in] | BufferIndex | The index of the buffer you want to access. |
boolean IsLocked | ( | long | BufferIndex | ) |
Checks whether a buffer is locked or not.
[in] | BufferIndex | The index of the buffer you want to access. |
TRUE
if busser is locked, FALSE
otherwise. boolean Unlock | ( | long | BufferIndex | ) |
Unlocks the buffer at the given index.
You have to unlock the buffers of the ringbuffer if you use the LOCKMODE_ON mode (see LockMode).
[in] | BufferIndex | The index of the buffer you want to access. |
FALSE
if any error occured, TRUE
otherwise.