RingBuffer Control 14.1
Events

Functions

void CVCError (ErrorCode ErrorCode, BSTR ErrorString, boolean *Continue)
 This event is fired, if an error occurs in the RingBuffer Control. More...
 
void ImageUpdated ()
 Generated when the image object has changed, e.g. the number of buffers have been changed. More...
 

Detailed Description

Function Documentation

◆ CVCError()

void CVCError ( ErrorCode  ErrorCode,
BSTR  ErrorString,
boolean *  Continue 
)

This event is fired, if an error occurs in the RingBuffer Control.

Attention
An error could occur, for instance, an invalid image. Please include the appropriate header file for your compiler (cvcerror.*).
Parameters
[in]ErrorCodeA unique number describing the error. The following error codes have been defined:
1CVC_E_ERROR
 This error cannot be described more precisely.
17CVC_E_NOINTERFACE
 No interface available (e.g. IRingBuffer or IGrab2).
18CVC_E_BUSY
 The property or method does not succeed because the hardware was busy. You may have to stop any acquisition before changing a property or calling a method.
[in]ErrorStringSpecifies the error text of the output.
[in,out]ContinueThis specifies whether execution should continue despite the error. The user can overwrite the value in order to change the default action. The default value depends on the function that caused the error.
TRUE specifies that a message box will appear to inform the user of the error. FALSE means that it is possible to perform custom error handling, e.g. use a self-defined message-box.
Related Topics:
Image Control CVCErrorEvent, Display Control CVCErrorEvent
Examples:
Delphi - Delphi RingBuffer Example
Visual Basic - VB RingBuffer Example 1 and VB RingBuffer Example 2
Visual C++ - VC RingBuffer Example

◆ ImageUpdated()

void ImageUpdated ( )

Generated when the image object has changed, e.g. the number of buffers have been changed.

Examples:
Delphi - Delphi RingBuffer Example
Visual Basic - VB RingBuffer Example 1 and VB RingBuffer Example 2
Visual C++ - VC RingBuffer Example