HP 4155A/4156A SCPI Programming
Programming: Measurement Execution
To Control Standby Units
To change the standby units from the idle state to the standby state:
1. Send
:PAGE:SCONtrol:STANdby ON
.
You cannot change which units are standby units after you execute this
command. Standby units are units for which STBY is set to ON in the
CHANNELS: CHANNELS DEFINITION page.
To change the standby units from the standby state to the idle state.
1. Send
:PAGE:SCONtrol:STANdby OFF
to stop standby units.
Example
To set standby units to standby state (so standby value will be output before
and after measurements), then after nal measurement, change standby units
to idle state:
10 ASSIGN @Hp4155 TO 717
20 !
30 OUTPUT @Hp4155;":MMEM:LOAD:STAT 0,'SWP1.MES','DISK'"
40 OUTPUT @Hp4155;":PAGE:SCON:STAN ON"
50 OUTPUT @Hp4155;":PAGE:SCON:SING"
60 OUTPUT @Hp4155;"*OPC?"
70 ENTER @Hp4155;Complete
80 OUTPUT @Hp4155;":MMEM:STOR:TRAC DEF,'MEAS1.DAT','DISK'"
90 !
100 OUTPUT @Hp4155;":MMEM:LOAD:STAT 0,'SWP2.MES','DISK'"
110 OUTPUT @Hp4155;":PAGE:SCON:SING"
120 OUTPUT @Hp4155;"*OPC?"
130 ENTER @Hp4155;Complete
140 OUTPUT @Hp4155;":PAGE:SCON:STAN OFF"
150 OUTPUT @Hp4155;":MMEM:STOR:TRAC DEF,'MEAS2.DAT','DISK'"
160 END
4-18