HP 4155A/4156A SCPI Programming
Programming: File Operation
To Store Setup Data to Diskette or Internal Memory
1. Send
:MMEMory:STORe:STATe
command to HP 4155A/4156A.
a. Specify the rst parameter to be 0. This parameter has no meaning for
HP 4155A/4156A, but is necessary for SCPI compatibility.
b. Specify the second parameter:
For diskette:
File name with extension:
.MES
for measurement setup data or
.STR
for stress setup data.
For internal memory:
Internal memory name (
MEM1
,
MEM2
,
MEM3
,or
MEM4
) with extension:
.MES
for measurement setup data or
.STR
for stress setup data.
c. Specify the third parameter:
For diskette (default):
DISK
For internal memory:
MEMORY
Example
To store measurement setup data to a diskette le:
10 !
20 ASSIGN @Hp4155 TO 717
30 !
40 OUTPUT @Hp4155;":MMEM:STOR:STAT 0,'SWP.MES','DISK'"
50 !
60 END
Line Number Description
20 Assigns I/O path to control HP 4155A/4156A.
40 Stores measurement setup data to diskette le
SWP.MES
.
4-21