4- 20
Keysight E5260/E5270 Programming Guide, Edition 4
Command Reference
Command Reference
ACH
The ACH command translates the specified
program
channel number to the
specified
actual
channel number at the program execution. This command is useful
when you use a control program created for an instrument, such as the 4142B,
4155B/4155C/4156B/4156C, and E5260/E5270, that has a module configuration
different from the E5260/E5270 actually you use. After the ACH command, enter
the *OPC? command to confirm that the command execution is completed.
Syntax
ACH [
actual
[,
program
]]
Parameter
actual
:
Channel number actually used for measurement instead of
program
.
The value must be slot number where the module has been installed in
the E5260/E5270. Integer expression. 1 to 8 (1 and 5 are not available
for HPSMU). See
program
:
Channel number used in a program and will be replaced with
actual
.
Integer expression.
If you do not set
program
, this command is the same as ACH
n
,
n
.
If you do not set
actual
and
program
, the all channel number mapping is cleared.
For parameter settings, you cannot use the variables set by the VAR command.
Remarks
The ACH commands must be put at the beginning of the program or before the
command line that includes a
program
channel number. In the program lines that
follow the ACH command, you must leave the
program
channel numbers. The
measurement data is returned as the data of the channel
program
, not
actual
.
Example
Statements
If you want to use channels 1 to 3 instead of channels 5 to 7 respectively, enter the
following statements. The measurement data is returned as the data of channel 5, not
channel 1.
OUTPUT @E5270;"ACH 1,5" !uses ch1 instead of ch5
OUTPUT @E5270;"ACH 2,6" ! ch2 ch6
OUTPUT @E5270;"ACH 3,7" ! ch3 ch7
OUTPUT @E5270;"*OPC?"
ENTER @E5270;A
!
OUTPUT @E5270;"CN 5,6,7" !leave prog ch No.
! |
OUTPUT @E5270;"DV 5,0,3" ! |
OUTPUT @E5270;"DV 6,0,0" ! |
OUTPUT @E5270;"DV 7,0,0" ! |
! |
OUTPUT @E5270;"TI 5,0" ! |
ENTER @E5270 USING "#,3X,12D,X";Data! |
PRINT "I=";Data ! |
! |
OUTPUT @E5270;"CL 5,6,7" ! V
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: ......