Language Reference
PLOT
120 | ON INTR Hpib GOTO Done | When nished, GO TO |
130 | ENABLE INTR Hpib;2 | Interrupt when nished. |
140 | ! | Dump plot. |
150 | OUTPUT Dsp;"CY 1;"; |
|
160 | ! | No CR/LF. |
170 | SEND Hpib;UNL LISTEN Plt TALK Dsplay DATA | Get controller o |
180 | ! | Do not use \LOCAL 7". |
190 | Loop:GOTO Loop | Wait for completion. |
200 | ! |
|
210 | Done: ! |
|
220 | OFF INTR |
|
230 | Status_byte=SPOLL(Dsp) | Read display status . |
240 | IF BIT(Status_byte,4) THEN | Bit 4 is command done . |
250DISP "DONE!"
260ELSE
270DISP "UNEXPECTED INTERRUPT"
280END IF
290!
300END
Description The PLOT command generates a copy of the
The plotter or printer must be properly congured prior to issuing PLOT. P1X and P1Y , and P2X and P2Y specify the
The instrument addressed with the PLOT command also must be assigned to the display keyboard. The PLOT command instructs the display to do a graphics plot dump. Execution of the plot command is not complete until the plotter has nished plotting.