HP 4155A/4156A SCPI Programming
Programming: File Operation
To Store Measurement Data to Diskette or Internal
Memory
1. Send
:MMEMory:STORe:TRACe
command to HP 4155A/4156A.
a. Specify the rst parameter to be
DEFault
. 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
.DAT
For internal memory:
Internal memory name (
MEM1
,
MEM2
,
MEM3
,or
MEM4
) with extension
.DAT
.
c. Specify the third parameter:
For diskette (default):
DISK
For internal memory:
MEMORY
Example
To store measurement data to a diskette le:
10 !
20 ASSIGN @Hp4155 TO 717
30 !
40 OUTPUT @Hp4155;":MMEM:STOR:TRAC DEF,'SWP.DAT','DISK'"
50 !
60 END
Line Number Description
20 Assigns I/O path to control HP 4155A/4156A.
40 Stores measurement data to diskette le
SWP.DAT
.
4-22