Bruxton Logo

SIDXSensorGetParameters

Syntax

C/C++

int SIDXSensorGetParameters(void* camera, int* x, int* y, int* pixel_depth);

Visual Basic

Function SIDXSensorGetParameters (ByVal camera As Long, x As Long, y As Long, pixel_depth As Long) As Long

IGOR Pro

SIDXSensorGetParameters camera, x, y, pixel_depth, status

ITT IDL

status = SIDXSensorGetParameters(camera, x, y, pixel_depth)

Parameters

camera
The open camera handle created by either SIDXSettingsOpenCamera or SIDXCameraOpen or SIDXDialogCameraSelector or SIDXSettingsRestoreCamera.
x
A variable to receive the CCD x dimension in pixels.
y
A variable to receive the CCD y dimension in pixels.
pixel_depth
A variable to receive the pixel depth which is maximum pixel value.

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

Discussion

Use this function to read parameters from the CCD camera. For Spectral Instruments cameras, the function returns the serial and parallel register size.