Controlling Peripherals
Using the Parallel Port
Writing to the Parallel Port
To write the value 52 decimal (34 hex, 0011 0100 binary) to the parallel
port's output pins, use one of the following commands:
OUTPUT @Rfna;"DIAG:PORT:WRITE 15,3,52"
WRITEIO 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 µs
duration will occur on the strobe line (pin 1). A data setup and data hold
time of at least 1 µs are guaranteed. See
Figure
6-1.
Figure 6-1
Writing to the Parallel Port
6-6
Automating Measurements