GetCameraContrast (GCC)

Queries the camera contrast (exposure setting) for a station.

The contrast is read directly from the currently active camera. This does not necessarily have to be the same as the image acquisition window.

Input

Syntax: GCC{SLOTNUMBER};{CAMERAINDEX}

{SLOTNUMBER} Corresponds to the station number
{CAMERAINDEX} Index of the camera if multiple cameras are loaded in the program.
Starting with 0.
0 corresponds to the first camera.
1 corresponds to the second camera.

Output

{COMMAND RESPONSE}{CONTRAST}

Command Response Description
0 Command was processed successfully
1 Execute not successful
2 Incorrect syntax
3 Serious error during execution
4 Function not active or manually deactivated
9 EasySightPro® will be closed
{CONTRAST} Corresponds to the camera contrast

Example

Queries the contrast of camera 0 for station 0. Reply with contrast 0.

Copy
GCC0;0
00

Queries the contrast of camera 0 for station 0. Reply with contrast 1.

Copy
GCC0;0
01