beautypg.com

Camera commands – AMX Metreau Entry Communicator with Display MET-ECOM-D User Manual

Page 58

background image

Programming

52

Metreau Entry Communicators

Camera Commands

The Metreau Entry Communicators Camera (MET-ECOM-D only) supports the following camera
SEND_COMMANDs on port 1.

Unlike AMX touch panels, Metreau Entry Communicators return String responses
instead of Command responses.

Camera Commands

SET CAM-WBAL

Sets the white balance control
setting for the camera.
White balance setting allows
for internal light adjustments
based upon light conditions
surrounding the unit.

Syntax:

"'SET CAM-WBAL '"

Variables:
• Tag: OFF (no white balance), AUTOMATIC, MANUAL_RGB, Presets

(DAYLIGHT, TUNGSTEN, FLUORESCENT, HORIZON).

Example:

SEND_COMMAND MET1,"'SET CAM-WBAL HORIZON’"

Sets the display white balance to horizon preset.

GET CAM-WBAL

Retrieves the white balance
control setting for the camera.

Syntax:

"'GET CAM-WBAL'"

Returns:

CAM-WBAL= 45

The White balance setting is 45.

SET CAM-RGB

Manually sets the RGB Gain
control for the camera.

Syntax:

"'SET CAM-RGB , , '"

Variables:
• R-tag: Red channel gain setting 00 -FF.
• G-tag: Green channel gain setting 00 -FF.
• B-tag: Blue channel gain setting 00 -FF.
Example:

SEND_COMMAND MET1,"'SET CAM-RGB #222D0B'"

Manually sets the RGB Gain parameters to Red 34, Green 45 and
Blue 11.

GET CAM-RGBGAIN

Retrieves the RGB gain con-
trol setting for the camera.

Syntax:

"'@CAM-RGBGAIN , , '"

Variables:
• R-tag: Red channel gain setting 0 -255.
• G-tag: Green channel gain setting 0 -255.
• B-tag: Blue channel gain setting 0 -255.
Returns:

CAM-RGBGAIN= 45

The White balance setting is 45.