HP 4155A/4156A SCPI Programming
Programming: Print/Plot Operation
To Save Hardcopy Image to Diskette
1. To set print/plot destination to diskette le, send :HCOPy:DESTination
command with MMEMory parameter.
2. Specify the le name by using :MMEMory:NAME command.
3. Execute the print/plot operation. Refer to print/plot tasks described
previously.
Example
To load sweep setup le, execute measurement, and then saves a hardcopy
image of the measurement results of GRAPH/LIST: GRAPHICS page to a
diskette:
10 ASSIGN @Hp4155 TO 717
20 !
30 OUTPUT @Hp4155;"*RST"
40 !
50 OUTPUT @Hp4155;":MMEM:LOAD:STAT 0,'SWP.MES'"
60 !
70 OUTPUT @Hp4155;":PAGE:SCON:SING"
80 OUTPUT @Hp4155;"*OPC?"
90 ENTER @Hp4155;Complete
100 !
110 OUTPUT @Hp4155;":HCOP:DEST MMEM"
120 OUTPUT @Hp4155;":MMEM:NAME 'TEST1'"
130 !
140 OUTPUT @Hp4155;":PAGE:GLIS"
150 !
160 OUTPUT @Hp4155;":HCOP"
170 OUTPUT @Hp4155;"*OPC?"
180 ENTER @Hp4155;Complete
190 END
4-46