Grabber Control Reference 14.0
Events

Functions

void CVCError (ErrorCode ErrorCode, BSTR ErrorString, boolean *Continue)
 This event is fired if an error occurs in the Grabber Control. More...
 
void ImageUpdated ()
 This event is only triggered when the image object has changed. This is the case e.g. when the camera port has 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 Grabber Control.

Attention
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.
2CVC_E_PARAMETER
 Incorrect parameter in a function call.
4CVC_E_TIMEOUT
 Timeout during acquisition of an image in ping-pong mode if, for example, there is no trigger although the image acquisition device is waiting for such a signal.
5CVC_E_MEMORY
 Memory could not be allocated.
7CVC_E_UNSUPPORTEDDATATYPE
 Data type that is not supported.
8CVC_E_INVALIDCAMERAPORT
 Specified camera port is invalid.
9CVC_E_BOARDSELECT
 Board selection failed.
10CVC_E_INVALIDTRIGGERMODE
 Trigger mode is invalid.
16CVC_E_NOIMAGE
 No image at all.
17CVC_E_NOINTERFACE
 No interface available.
[in]ErrorStringSpecifies the error text of the output.
[in]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 messate 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.
Examples:
Visual Basic - VB Grabber Control Example

◆ ImageUpdated()

void ImageUpdated ( )

This event is only triggered when the image object has changed. This is the case e.g. when the camera port has been changed.

Examples:
Visual Basic - VB Grabber Control Example