Bruxton Logo

SIDXModeSet

Syntax

C/C++

int SIDXModeSet(void* camera, int index);

Visual Basic

Function SIDXModeSet (ByVal camera As Long, ByVal index As Long) As Long

IGOR Pro

SIDXModeSet camera, index, status

ITT IDL

status = SIDXModeSet(camera, index)

Parameters

camera
The open camera handle created by either SIDXSettingsOpenCamera or SIDXCameraOpen or SIDXDialogCameraSelector or SIDXSettingsRestoreCamera.
index
A zero based mode index.

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

Discussion

The function is only supported on Spectral Instruments G4 cameras. Choose a mode setting with the index of the mode. The mode index must be in the range zero to the mode count minus one. Use SIDXModeGetCount to get the mode count.