beautypg.com

Rs-232 / serial port command examples – Epiphan Pearl User Manual

Page 313

background image

Pearl User Guide

Control with RS-232 / serial port

Command Name

Description

The Uninitialized status is sent when there is an internal error. Check the
system for more details.

RS-232 / Serial port command examples

The following examples demonstrate how to use some of the RS-232 commands supported by the system.
The list of supported SET and GET parameters are found in

Configuration keys for third party APIs

.

Each command sent to Pearl via RS 232 must be terminated with a line feed (LF) character
(ASCII code 10). Your software may need to be configured to add the line feed to each command.

For values with spaces, enclose the value in quotation marks. For empty values, use empty quotation marks
with nothing between.

1. To start recording on channel 2:

START.2

2. To stop recording on channel 2:

STOP.2

3. To start recording on all channels and recorders:

START

4. To get the value of the frame size (resolution) for channel 2:

GET.2.framesize

5. To set the frame size (resolution) on channel 2, enclose the parameter in quotes to preserve the spaces:

SET.2.framesize="640 x 480"
SAVECFG

6. To enable broadcasting audio on channel 2:

300