Automating Measurements
Operator Interaction
User-Defined
TTL
Input/Output
The USER TTL port can be used as a general-purpose input or output. Like
the LIMIT TEST IN/OUT line, the USER TTL IN/OUT line is au open collector
drive. When used as an input, the state of the USER TTL IN/OUT line can be
read with either the SCPI command
“DIAG:PORT:READ?
15,l”
or with the
IBASIC
command
I =
READIO(lS,l>
When used as an output, the state of the USER TTL
IN/OUT
line can be set
with either the SCPI command
“DIAG:PORT:WRITE
15,1
,value”
or with the
IBASIC
command
WRITE10
15,1;value
The USER TTL IN/OUT port can also be used in conjunction with an external
switch for
softkey
auto-stepping, or as a “sweep out” port. Be sure that USER
TTL IN/OUT port is
coniigured
properly for general-purpose I/O by pressing
[SYSTEM OPTIONS)
&w%rxa
Caxrfig
Umr
TTL
Gatiig
‘D#fauI%
. Or use
the following SCPI command:
SYST:COMM:TTL:USER:FEED
DEFAULT
CAUTION
Be sure to observe static precautions when using this port.
7-34