Operating Instructions
6-8
10 TEGAM WAY ● GENEVA, OHIO 44041 ● 440-466-6100 ● FAX 440-466-6110 ●
6.
P
ROGRAMMING
C
OMMAND
R
EFERENCE
Users may also develop custom applications purpose-built for their own applications. The
instrument syntax and commands are discussed below.
Connection Settings
The 5540A interface is similar to other USB-Serial devices. Once the unit is connected to the
host computer, it is assigned a COM port address.
The serial communication settings are as follows:
Baud: 115200
Parity: None
Data bits: 8
Stop bits: 1
Handshake: None
Syntax
The GEMINI RF Power Meter command set is straightforward and will be familiar to those who
have worked with other serial instruments. It uses the
GET <Variable Name>
command
format. Variable Names are described in
Table 1
below.
The commands are sent as plain character data to the virtual serial port created when the
instrument is enumerated on the USB bus. The instrument identifies itself to the operating
system as a standard serial port resource, so standard programming commands for
transmitting and receiving data to and from COM ports can be used.
V
ARIABLE
N
AME
R
ETURN
S
TRINGS
MODEL_NUMBER
<error>:<unit model number>
SERIAL_NUMBER
<error>:<unit serial number>
VERSION
<error>:<firmware revision number>
READINGS
<error>:FORWARD_POWER, REVERSE_POWER,
VSWR, FREQUENCY
FORWARD_POWER <error>:<forward power in Watts>
REVERSE_POWER
<error>:<reverse power in Watts>
VSWR
<error>:<connection VSWR>
FREQUENCY
<error>:<source frequency in Hz>
Table 1: GEMINI RF Power Meter Variable Names and Return Strings