Back to Adaptive Vision Library website

You are here: Start » Function Reference » NET ICube » ICube_SetTriggerMode

ICube_SetTriggerMode


Sets a trigger mode in an ICube device.

Syntax

void avl::ICube_SetTriggerMode
(
	ICube_State& ioState,
	atl::Optional<int> inDeviceID,
	avl::ICubeTriggerMode::Type inTriggerMode
)

Parameters

Name Type Default Description
ioState ICube_State& Object used to maintain state of the function.
inDeviceID Optional<int> NIL Index of a camera
inTriggerMode ICubeTriggerMode::Type Type of trigger mode (see Parameter Definitions in the API Header)

Description

Sets camera Trigger mode.

Remarks

To be able to use an ICube camera, you need to install the camera driver. You can find it at the following address (select binaries):

https://net-usa-inc.com/en/usb2.0.html or https://net-usa-inc.com/en/usb3.0.html

Please make sure that the ICube SDK is installed properly on your computer. To verify the driver installation, you can run iControl.exe. If the camera was detected and you can see the image from it in this application, you can use your ICube camera in Adaptive Vision Studio.

The full description of the camera parameters can be found in the ICube SDK documentation.

Multithreaded environment

This function is not guaranteed to be thread-safe. When used in multithreaded environment, it has to be manually synchronized.

See Also