Bruxton Logo

SIDXDialogImage

Bruxton

Syntax

C/C++

int SIDXDialogImage(void* camera, int* canceled);

Visual Basic

Function SIDXDialogImage (ByVal camera As Long, canceled As Long) As Long

IGOR Pro

SIDXDialogImage camera, canceled, status

ITT IDL

status = SIDXDialogImage(camera, canceled)

Parameters

camera
The open camera handle created by either SIDXSettingsOpenCamera or SIDXCameraOpen or SIDXDialogCameraSelector or SIDXSettingsRestoreCamera.
canceled
Non-zero if the user canceled out the dialog.
The return value is non-zero if the function failed, zero if it succeeded.

Discussion

Use this function to bring up an image dialog common for all cameras to set imaging parameters, such as exposure. The dialog will only allow the user to set a single ROI. If there are multiple ROI's set using the script call (SIDXROISet) before this function, SIDXDialogImage will display the first ROI and drop the rest.