Bruxton Logo

SIDXShutterGet
SIDXShutterSet

Syntax

C/C++

int SIDXShutterGet(void* camera, int* mode_get)
int SIDXShutterSet(void* camera, int mode_set)

Visual Basic

Function SIDXShutterGet (ByVal camera As Long, mode_get As Long) As Long
Function SIDXShutterSet(ByVal camera As Long, ByVal mode_set As Long) As Long

IGOR Pro

SIDXShutterGet camera, mode_get, status
SIDXShutterSet camera, mode_set, status

ITT IDL

status = SIDXShutterGet(camera, mode_get)
status = SIDXShutterSet(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 shutter mode. The available shutter modes are shown in the following table. For a particuler type of camera, certain shutter modes may not be supported. User SIDXShutterModeAvailable to determine if a shutter mode is supported on the camera.
Shutter modeComments
0The shutter opens before each exposure.
1The shutter opens before each sequence.
2The shutter opens before each trigger.
3The shutter opens and stays open.
4The shutter closes and stays closed.
mode_set
A variable with specified shutter mode to set. The available choices of modes are shown in the above table.

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

Discussion

Use this function to set the shutter mode of a camera.