HP 4155A/4156A SCPI Programming
Programming: Print/Plot Operation
170 OUTPUT @Hp4155;":HCOP"
180 REPEAT
190 OUTPUT @Hp4155;"*ESR?"
200 ENTER @Hp4155;Event_status
210 UNTIL BIT(Event_status,1)
220 !
230 PASS CONTROL @Hp4155
240 DISP "Printing"
250 REPEAT
260 STATUS 7,6;Hpib_status
270 UNTIL BIT(Hpib_status,6)
280 DISP "Done"
290 END
Line Number Description
10 Assigns I/O path to control HP 4155A/4156A from external computer
.
20 Sets the HP-IB address of external computer. This will be necessary to
return Active Controller capability from HP 4155A/4156A back to the
external computer.
40 Resets HP 4155A/4156A
50 Species to pass Active Controller capability back to external computer
after printing is completed.
70 Loads measurement setup data from diskette le
SWP.MES
.
90 to 110 Executes measurement and waits until completed.
130 Sets the range of list results to be output.
150 Changes page to GRAPH/LIST: LIST page.
170 to 210 Sends print command and waits for Active Controller request from HP
4155A/4156A.
230 Passes Active Controller capability to HP 4155A/4156A, then HP
4155A/4156A starts printing.
250 and 270 Waits until completion of printing.
4-41