
Automating Measurements
Operator Interaction
You can connect a foot switch, button box, or custom keyboard which has a
few function keys that are custom-labeled, and use this in conjunction with
to allow consistent, error-free step-by-step measurement control. The
operator presses one key, then the next, in order.
The foot-switch simply connects two wires together, grounding the center pin
of the analyzer’s USER TTL IN/OUT rear panel connector. (See Figure 7-6.)
The status of the USER TTL IN/OUT can be read using the SCPI commands:
30 OUTPUT
40 ENTER
or the
command:
3 0
When the foot-switch is open, the variable “X” will be set to 1. When it is
closed, the variable
will be set to 0. Switch
is generally not a
problem, due to the relatively slow polling rate of the program.
Refer to the section titled “Analyzer Port Numbers” for tables describing the
various analyzer ports that you can access using SCPI or
Below are two example programs which shows how to display a message
and read the foot switch to control your measurements. The first program
uses the SCPI “DIAG:PORT:READ” query, while the second uses the
function.
Following is an example program which shows how to display a message and
read the foot switch to control your measurements. This program is named
TTL-IO on your Example Programs Disk.
For an example which uses the
command, refer to the
program USER-BIT on your
Example Programs Disk.
100
! Filename: TTL-IO
110 !
120
! This program reads the USER TTL IO
130
! port, and counts how many times a
140
! switch connected to the port is pressed.
150 !
7-35
Содержание 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 ...