I
-
I
-
Automating Measurements
Controlling Peripherals
NOTE
When using the
WRITE10
(15,0> or
WRITE10
(15,3)
command, the Printer-Select Line is
set High. However, when the instrument is doing hardcopy, the Printer-Select Line is set low The
Printer-Select line may or may not be used by individual printers. Check with your printer manual.
Writing
to
the
Parallel
Port
lb
write the value 52 decimal (34 hex, 0011 0100 binary) to the parallel
port’s output pins, use one of the following commands:
OUTPUT
QRfna;“DIAG:PORT:WRITE
15,3,52”
WRITE10
15,3;52
When the write command is executed, the parallel port’s data lines (pins 2-9)
will be set to the specified value, and then a pulse of at least 1 ps duration
will occur on the strobe line (pin 1). A data setup and data hold time of at
least 1
ps
are guaranteed. See Figure 7-9.
7-56
I-
深圳市盛腾仪器仪表有限公司 Tel:0755-83589391 Fax:0755-83539691 Website: www.Sengt.com