Keysight E5260/E5270 Programming Guide, Edition 4
4- 129
Command Reference
Command Reference
VAR
This command defines the Keysight E5260/E5270 internal variable, and sets the
value. The variable name is automatically assigned by using the parameters you
specify.
Syntax
VAR
type
,
n
,
value
Parameters
type
:
Variable type. Integer expression. 0 or 1.
0: Integer variable. Variable name will be %I
n
.
1: Real variable. Variable name will be %R
n
.
n
:
Number
n
added to the variable name. Integer expression. 0 to 99.
value
:
Value entered in the variable. Numeric value. The value must be 6
digits or less. Available values are as follows:
For integer variables:
-
999999 to 999999
For real variables:
-
9999.9 to 9999.9
Example
Statements
OUTPUT @E5270;"ST1;CN1;DV1,0,%R99,1E-4;TI1,0"
OUTPUT @E5270;"END"
OUTPUT @E5270;"VAR 1,99,2.5"
This example sets 2.5 to the real variable %R99.
VAR?
Returns the value of the variable set by the VAR command.
Syntax
VAR?
type
,
n
Parameters
type
:
Variable type. Integer expression. 0 or 1.
0: Integer variable. For the variable %I
n
.
1: Real variable. For the variable %R
n
.
n
:
Number
n
added to the variable name. Integer expression. 0 to 99.
Query Response
value
<CR/LF^EOI>
Example
Statements
OUTPUT @E5270;"VAR? 1,99"
ENTER @E5270;A
$
This example reads the %R99 real variable value.
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: ......