43 / 58
Trigger functions:
int
iCube
SDK_
SetTrigger(int nCamIndex,int nMode)
Purpose: sets the Trigger mode. The behavior of this function is dependent from the
parameter REG_SW_TRIG_MODE.
DELAYED_TRIGGER_RETURN:
SetTrigger(TRIG_SW_DO) returns when the last sensor line is in the camera-usb-chip.
If the last sensor line is not arriving in time the return value will be an error.
IMMEDIATE_TRIGGER_RETURN:
SetTrigger(TRIG_SW_DO) returns immediately.
3iCube: IMMEDIATE_TRIGGER_RETURN is default and the only possible mode.
iCube: DELAYED_TRIGGER_RETURN is default, but it is more common to use
IMMEDIATE_TRIGGER_RETURN.
Description
Parameters
int
nCamIndex,
int
nMode
Return value
int
stat
Return value:
int
stat
:
IC_SUCCESS: success
else: error
Parameters:
int
nCamIndex: index of camera.
Int
nMode: TRIG_SW_START: starts the software trigger mode .
TRIG_SW_DO : get one software triggered frame.
TRIG_HW_START: starts the hardware trigger mode.
TRIG_STOP: stops soft/hardware trigger mode.
TRIG_SW_START_2: GRR mode
(1500CU/BU >= FW x.4.11.x)
(1300CU >= FW x.1.12.x)
TRIG_HW_START_2 : GRR mode
(1500CU/BU >= FW x.4.11.x)
(1300CU >= FW x.1.12.x)