
6-1
6-2
6.
6.
6.
6.
OPERATING THE POW
OPERATING THE POW
OPERATING THE POW
OPERATING THE POWER ANALYZER USING THE
ER ANALYZER USING THE
ER ANALYZER USING THE
ER ANALYZER USING THE
COMPUTER INTERFACE
COMPUTER INTERFACE
COMPUTER INTERFACE
COMPUTER INTERFACE
6.1
6.1
6.1
6.1
INTRODUCTION
INTRODUCTION
INTRODUCTION
INTRODUCTION
The Power Analyzer can be operated from a host by sending commands to it through a
computer interface on the rear panel.
Section 6 describes how to set up, configure, and operate the Power Analyzer via the
RS-232.
6.2
6.2
6.2
6.2
LOCAL AND REMOTE OPERATIONS
LOCAL AND REMOTE OPERATIONS
LOCAL AND REMOTE OPERATIONS
LOCAL AND REMOTE OPERATIONS
When the Power Analyzer is operated from a host then it is operated „remotely“, when
operated from its front panel the Power Analyzer is operated „locally“.
The Power Analyzer is no longer controllable from the front panel when via interface the
Local Lockout
Local Lockout
Local Lockout
Local Lockout state has been enabled.
6.3
6.3
6.3
6.3
RS-232 COMPUTER INTERFACE
RS-232 COMPUTER INTERFACE
RS-232 COMPUTER INTERFACE
RS-232 COMPUTER INTERFACE
Your Power Analyzer can be equipped with RS-232 interface.
You can operate several instruments in parallel if you install the required number of RS-
232 ports on your computer.
6.4
6.4
6.4
6.4
INTERFACE PARAMETERS
INTERFACE PARAMETERS
INTERFACE PARAMETERS
INTERFACE PARAMETERS
The Power Analyzer sets the parameters at startup to the following values:
Baud:
9600
Parity:
None
Terminator:
CR
Handshake:
None
IEEE-address:
n/a
In order for the Power Analyzer and the host to communicate through the interface the
communication parameters of the Power Analyzer must match those of the host.
6.5
6.5
6.5
6.5
CABLING THE POWER ANALYZER TO A HOST
CABLING THE POWER ANALYZER TO A HOST
CABLING THE POWER ANALYZER TO A HOST
CABLING THE POWER ANALYZER TO A HOST
Turn Power Analyzer off. When cabling is complete turn power on again.
The RS-232 interface on the Power Analyzer rear panel uses a DB-9 connector. Its pin
out is given below.
The RS-232 cable length should be less than 15m to make sure not to exceed the
allowable (2000pF) cable capacitance.
NOTE:
NOTE:
NOTE:
NOTE:
Use a standard one-to-one connected RS-232 interface cable to
connect PC and Power Analyzer (RxD and .TxD are not
crossed).
6.6
6.6
6.6
6.6
HOW THE POWER ANALYZER PROCESSES INPUT
HOW THE POWER ANALYZER PROCESSES INPUT
HOW THE POWER ANALYZER PROCESSES INPUT
HOW THE POWER ANALYZER PROCESSES INPUT
The Power Analyzer processes and executes valid input strings sent by the host. A
CR/LF
CR/LF
CR/LF
CR/LF (carriage return/line feed) terminates an input string.
When the Power Analyzer receives input, it stores it in a 32 byte input buffer. As soon
as the input terminators have been recognized the data in the buffer are processed.
The Power Analyzer accepts upper and lower case characters. If a command cannot be
understood, or it was longer than 32 characters, which cannot be the case for correct
commands, the command will be ignored and an error will be generated.
6.6.1
6.6.1
6.6.1
6.6.1 INPUT TERMINATOR
INPUT TERMINATOR
INPUT TERMINATOR
INPUT TERMINATOR
An input terminator is a character or command sent by the host identifying the end of a
string. Any of these terminators will be recognized as „end of message“.
Valid terminators for the RS-232 interface are:
CR
CR
CR
CR (Carriage Return), LF
LF
LF
LF (Line Feed)
CRLF
CRLF
CRLF
CRLF (Carriage Return / Line Feed), and
LFCR
LFCR
LFCR
LFCR (Line Feed / Carriage Return)
1
DCD
Data Carrier Detect
2
RxD
Received Data
3
TxD
Transmitted Data
4
DTR
Data Terminal Ready
5
Grd
Signal Ground
6
DSR
Data Set Ready
7
RTS
Request To Send
8
CTS
Clear To Send
9
RNG
Ring
5
9
1
6