
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
Summary of Contents for 8712C
Page 1: ...I I User s Guide HP 8712C and HP 8714C RF Network Analyzers I ...
Page 17: ...I 1 Installing the Analyzer ...
Page 35: ...I 2 Getting Started ...
Page 54: ...I 3 Making Measurements ...
Page 81: ......
Page 119: ...4 Using Instrument Functions ...
Page 182: ...Using Instrument Functions Customizing the Display Figure 4 24 Expanded Display 4 64 ...
Page 223: ...5 Optimizing Measurements ...
Page 244: ...6 Calibrating for Increased Measurement Accuracy ...
Page 280: ...7 Automating Measurements ...
Page 298: ......
Page 362: ...8 Front Rear Panel ...
Page 373: ......
Page 381: ......
Page 386: ... 9 w I Suftkey Reference ...
Page 477: ...I 10 Specifications and Characteristics ...
Page 501: ...11 Safety and Regulatory Information ...
Page 508: ...I 12 preset State and Memory Allocation ...
Page 527: ...Index ...
Page 559: ...Y X 9 91 YYW m m IiH rn 9 91 Z zeroing detectors 6 15 Index 33 ...