
Automating Measurements
Controlling Peripherals
Like the parallel port, the
serial port can also be accessed
using
SCPI
and
commands.
‘lb write a byte with a value of 52 decimal (34 hex, 0011 0100 binary) to the
serial port, use one of the following commands:
OUTPUT
lb read a byte from the serial port, use the following commands:
OUTPUT
ENTER
you are using
you can simply use the
statement:
S e r i a l - i n =
For general purpose l/O, the parallel port is much easier to interface to than
the serial port. lb interface to the serial port, a Universal Asynchronous
Receiver Transmitter (UART) is typically used to decode the
signals.
Most
are designed to be used with microprocessors.
The advantage of the serial port is that it can operate over long distances, up
to 30 meters using the
standard. Its disadvantage is its slow speed;
limited to 19200 bits/second.
Before using the serial port, you must select the baud rate and handshake
style using the SCPI commands:
One type of application for the serial port would be to use it for data logging
to a remote computer. After each device is measured, an
program
could use the
command shown above to send a brief summary
of the measurement result, such as a filter’s 3
bandwidth and its serial
number, to the remote computer. A program on the remote computer would
monitor the serial port and read the incoming data and archive it to hard disk
or the network.
7-61
Содержание 8712C
Страница 1: ...I I User s Guide HP 8712C and HP 8714C RF Network Analyzers I ...
Страница 17: ...I 1 Installing the Analyzer ...
Страница 35: ...I 2 Getting Started ...
Страница 54: ...I 3 Making Measurements ...
Страница 81: ......
Страница 119: ...4 Using Instrument Functions ...
Страница 182: ...Using Instrument Functions Customizing the Display Figure 4 24 Expanded Display 4 64 ...
Страница 223: ...5 Optimizing Measurements ...
Страница 244: ...6 Calibrating for Increased Measurement Accuracy ...
Страница 280: ...7 Automating Measurements ...
Страница 298: ......
Страница 362: ...8 Front Rear Panel ...
Страница 373: ......
Страница 381: ......
Страница 386: ... 9 w I Suftkey Reference ...
Страница 477: ...I 10 Specifications and Characteristics ...
Страница 501: ...11 Safety and Regulatory Information ...
Страница 508: ...I 12 preset State and Memory Allocation ...
Страница 527: ...Index ...
Страница 559: ...Y X 9 91 YYW m m IiH rn 9 91 Z zeroing detectors 6 15 Index 33 ...