Bruxton Logo

SIDXTriggerGet
SIDXTriggerSet

Syntax

C/C++

int SIDXTriggerGet(void* camera, int* mode_get);
Int SIDXTriggerSet(void* camera, int mode_set);

Visual Basic

Function SIDXTriggerGet (ByVal camera As Long, mode_get As Long) As Long
Function SIDXTriggerSet (ByVal camera As Long, ByVal mode_set As Long) As Long

IGOR Pro

SIDXTriggerGet camera, mode_get, status
SIDXTriggerSet camera, mode_set, status

ITT IDL

status = SIDXTriggerGet(camera, mode_get)
status = SIDXTriggerSet(camera, mode_set)

Parameters

camera
The open camera handle created by either SIDXSettingsOpenCamera or SIDXCameraOpen or SIDXDialogCameraSelector or SIDXSettingsRestoreCamera.
mode_get
A variable to receive the current trigger mode. The available trigger modes are in the following table. To find out if a trigger mode is supported on a camera, use SIDXTriggerModeAvailable.
Trigger modeComments
0No trigger and the exposure time can be changed between sequences.
1No trigger and the exposure time cannot be changed between sequences.
2Trigger to start each exposure.
3Trigger to start a sequence.
4Trigger to start and stop each exposure.
trigger_set
Specify the desire trigger mode to set.

The return value is non-zero if the function failed, zero if it succeeded.