HP 4155A/4156A SCPI Programming
Programming: Measurement Setup
To Read HP 4155/56 Setup Data Values
To read setup data from HP 4155/56 into an IBASIC variable, do as follows:
1. Send
:PAGE
subsystem query command that corresponds to setup data
that you want to read.
Example
To load measurement setup data, then read the sweep start and stop values:
10 ASSIGN @Hp4155 TO 717
20 !
30 OUTPUT @Hp4155;":MMEM:LOAD:STAT 0,'SWP.MES','DISK'"
40 !
50 OUTPUT @Hp4155;":PAGE:MEAS:VAR1:STAR?"
60 ENTER @Hp4155;Swp_start
70 OUTPUT @Hp4155;":PAGE:MEAS:VAR1:STOP?"
80 ENTER @Hp4155;Swp_stop
90 !
100 PRINT "Sweep-start=";Swp_start,"Sweep-stop=";Swp_stop
110 !
120 END
Line Number Description
10 Assigns I/O path to control HP 4155A/4156A.
30 Loads measurement setup data from diskette le
SWP.MES
.
50 to 60 Reads start value of VAR1.
70 to 80 Reads stop value of VAR1.
4-11