1- 42
Keysight E5260/E5270 Programming Guide, Edition 4
Programming Basics
Programming Tips
To Confirm the Operation
To complete the measurement program, you can insert statements to check the
E5260/E5270 operation status as shown below. This example starts the
measurement, checks the status caused by the statements before the ERR?
command, reads and displays the measurement data without errors, or displays an
error message when an error occurs.
OUTPUT @E5270;"XE"
OUTPUT @E5270;"ERR? 1"
ENTER @E5270;Code
IF Code=0 THEN
ENTER @E5270 USING "#,3X,12D,X";Mdata
PRINT "I(A)=";Mdata
ELSE
OUTPUT @E5270;"EMG? ";Code
ENTER @E5270;Msg$
PRINT "ERROR: ";Msg$
END IF
To Confirm the Command Completion
To check the completion of the previous command execution, use the *OPC? query
command. Entering the *OPC command before sending a command to other
equipment serves to delay its operation until the E5260/E5270 has completed its
operation. The *OPC? command is useful to control equipments sequentially.
For example, the following program segment waits until the E5260/E5270
completes the DI command execution, and sends the
DCV
command to equipment
identified by
@Address
.
OUTPUT @E5270;"DI";1,0,1.0E-10,1
OUTPUT @E5270;"*OPC?"
ENTER @E5270; A$
OUTPUT
@Address
;"
DCV
"
To Disable the Auto Calibration
The auto calibration function triggers self-calibration automatically every 30
minutes after measurement. When the function is enabled, open the measurement
terminals frequently because calibration requires open terminals.
If you execute automatic measurements as a batch job that might leave the device
connected for over 30 minutes after the measurements, disable auto calibration.
Otherwise, the calibration might not be performed properly, or unexpected output
might appear at the measurement terminals, and it could even damage the device. To
disable auto calibration, send the
CM 0
command.
Summary of Contents for E5260 Series
Page 1: ...Keysight Technologies E5260 E5270 Series of Parametric Measurement Solutions Programming Guide...
Page 3: ...User s Guide B2900 9001x xxxx 201x Edition x...
Page 13: ...1 Programming Basics...
Page 63: ...2 Remote Mode Functions...
Page 108: ...2 46 Keysight E5260 E5270 Programming Guide Edition 4 Remote Mode Functions Initial Settings...
Page 109: ...3 Programming Examples...
Page 185: ...4 Command Reference...
Page 335: ...5 Error Messages...
Page 349: ......