| Home > Function descriptions > | History back Previous chapter Next chapter Print |
EnableEvent |
|
uEye ActiveX Manual Version 4.00
Syntax
LONG EnableEvent (LONG nWhich, LONG bEnable)
Description
Enables or disables the release of a specified event. Ssee also Description of the event interface.
|
|
Parameters
nWhich |
Specifies the type of event which should be signaled. |
IS_FRAME [0] |
Enables or disables EventOnFrame |
IS_SEQUENCE [1] |
Enables or disables EventOnSequnece |
IS_TRIGGER [2] |
Enables or disables EventOnTrigger |
IS_CAPTURE_STATUS [3] |
Enables or disables EventOnTransferFailed |
IS_DEVICE_RECONNECTED [4] |
Enables or disables EventOnDeviceReconnected |
IS_DEVICE_REMOVED [4096] |
Enables or disables EventOnDeviceRemoved |
IS_DEVICE_REMOVAL [4097] |
Enables or disables EventOnDeviceRemoval |
IS_NEW_DEVICE [4098] |
Enables or disables EventOnNewDevice |
bEnable |
Specifies the type of event which should be signaled. |
[0] |
Disable the specified event |
[1] |
Enable the specified event |
[2] |
Enable the specified event; use this if you encountered problems with the above activation |
Return values
IS_SUCCESS |
Function executed successfully |
IS_NO_SUCCESS |
General error message |
IS_INVALID_PARAMETER |
An unsupported event was requested |
Related properties