Keysight E5260/E5270 Programming Guide, Edition 4
1- 5
Programming Basics
Getting Started
To Reset the Keysight E5260/E5270
The E5260/E5270 returns to the initial settings by the *RST command.
Example
OUTPUT @E5270;"*RST"
For the initial settings, refer to
“Initial Settings” on page 2-42
.
To Read Query Response
If you enter a query command such as the *TST?, ERR? and so on, the
E5260/E5270 puts an ASCII format response to the query buffer that can store only
one response. Read the response as soon as possible after entering a query
command.
Example
OUTPUT @E5270;"NUB?"
ENTER @E5270;A
This example returns the number of data stored in the data output buffer.
To Perform Self-Test
The E5260/E5270 starts the self-test by the *TST? command. The *TST? command
also returns the test result.
Example
OUTPUT @E5270;"*TST?"
ENTER @E5270;Code
IF Code<>0 THEN DISP "FAIL: SELF-TEST"
This example starts the self-test, and reads the test result code. For the test result
code, refer to
To Perform Self-Calibration
The E5260/E5270 starts the self-calibration by the *CAL? command.
Example
OUTPUT @E5270;"*CAL?"
ENTER @E5270;Result
IF Result<>0 THEN DISP "FAIL: CALIBRATION"
This example starts the self-calibration, and reads the result, pass or fail. For details,
refer to
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: ......