
I
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 “X” 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
commands.
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
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
深圳市盛腾仪器仪表有限公司
Tel:0755-83589391
Fax:0755-83539691
Website: www.Sengt.com
Содержание 8711C
Страница 18: ...I 1 Installing the Analyzer 深圳市盛腾仪器仪表有限公司 Tel 0755 83589391 Fax 0755 83539691 Website www Sengt c ...
Страница 36: ...I I 2 Getting Started 深圳市盛腾仪器仪表有限公司 Tel 0755 83589391 Fax 0755 83539691 Website www Sengt com ...
Страница 55: ...3 Making Measurements 深圳市盛腾仪器仪表有限公司 Tel 0755 83589391 Fax 0755 83539691 Website www Sengt c ...
Страница 99: ...深圳市盛腾仪器仪表有限公司 Tel 0755 83589391 Fax 0755 83539691 Website www Sengt com ...
Страница 103: ...4 Using Instrument Functions 深圳市盛腾仪器仪表有限公司 Tel 0755 83589391 Fax 0755 83539691 Website www Sengt com ...
Страница 203: ...5 Optimizing Measurements 深圳市盛腾仪器仪表有限公司 Tel 0755 83589391 Fax 0755 83539691 Website www Sengt c ...
Страница 258: ...7 Automating Measurements 深圳市盛腾仪器仪表有限公司 Tel 0755 83589391 Fax 0755 83539691 Website www Sengt c ...
Страница 276: ...深圳市盛腾仪器仪表有限公司 Tel 0755 83589391 Fax 0755 83539691 Website www Sengt com ...
Страница 340: ...I 8 Front Rear Panel 深圳市盛腾仪器仪表有限公司 Tel 0755 83589391 Fax 0755 83539691 Website www Sengt com ...
Страница 364: ...9 Softkey Reference 深圳市盛腾仪器仪表有限公司 Tel 0755 83589391 Fax 0755 83539691 Website www Sengt c ...
Страница 452: ...I 10 Specifications and Characteristics 深圳市盛腾仪器仪表有限公司 Tel 0755 83589391 Fax 0755 83539691 Website www Sengt co ...
Страница 473: ...11 Safety and Regulatory Information 深圳市盛腾仪器仪表有限公司 Tel 0755 83589391 Fax 0755 83539691 Website www Sengt com ...
Страница 480: ...12 Preset State and Memory Allocation 深圳市盛腾仪器仪表有限公司 Tel 0755 83589391 Fax 0755 83539691 Website www Sengt com ...
Страница 499: ...Index I 深圳市盛腾仪器仪表有限公司 Tel 0755 83589391 Fax 0755 83539691 Website www Sengt com ...