UNIT Commands (Set and query input channel settings)


Enable/disable or query the anti-aliasing filter

8860, 8861


Syntax


(Command)
(Query)


:UNIT:AAFilter CH$,A$
:UNIT:AAFIlter? CH$

(Response)

CH$,A$
CH$ = CHm_n
A$ = OFF, ON


Details


Enables and disables the anti-aliasing filter in the module hosting channel CH$.
Returns the on/off state of the anti-aliasing filter in the module hosting channel CH$.


Example


:UNIT:AAFilter CH1_1,ON
:UNIT:AAFilter? CH1_1
(Response)  :UNIT:AAFILTER:CH1_1,ON  (when headers are enabled)


Note


-


Usage
Conditions


All functions
When the module includes anti-aliasing filtering.




Execute zero adjustment

8860, 8861


Syntax


(Command)


:UNIT:ADJUST



Details


Executes zero adjustment of input modules other than scanner modules.


Example


:UNIT:ADJUST


Note


Refer to the description of the :SYSTem:ADJust command for zero adjustment of scanner modules.


Usage
Conditions


All functions
When not measuring.




Execute auto-balancing and query results for all Strain module channels

8860, 8861


Syntax


(Command)
(Query)


:UNIT:BALAnce
:UNIT:BALAnce?

(Response)

A1<NR1>,A2<NR1>,A3<NR1>,...
Ai = -1, 0, 1


Details


Executes auto-balancing of all Strain module channels.
Returns the results of auto-balancing as NR1 numerical values.

The results are read sequentially beginning with the first module.

A = -1  (Unrelated module)
A = 0  (Success)
A = 1  (Failure)


Example


:UNIT:BALAnce
:UNIT:BALAnce?
(Response)  :UNIT:BALANCE -1,-1,0,0  (when headers are enabled)


Note


Returns the value -1 for modules that are not Strain modules.


Usage
Conditions


All functions




Enable/disable or query thermocouple burnout mode

8860, 8861


Syntax


(Command)
(Query)


:UNIT:BOUT CH$,A$
:UNIT:BOUT? CH$

(Response)

A$
A$ = OFF, ON


Details


Sets the thermocouple burn-out detection function for channel CH$.
Returns the current setting of the burn-out detection function for channel CH$.


Example


:UNIT:BOUT CH1_1,ON
:UNIT:BOUT? CH1_1
(Response)  :UNIT:BOUT CH1_1,ON  (when headers are enabled)


Note


-


Usage
Conditions


All functions
When the specified channel belongs to a Scanner module, and is in temperature mode.




Select or query bridge voltage

8860, 8861


Syntax


(Command)
(Query)


:UNIT:BRIDge CH$,A
:UNIT:BRIDge? CH$

(Response)

CH$,A
CH$ = CHm_n
A = 2, 5, 10


Details


Selects the bridge voltage of Strain module channel CH$.
Returns the bridge voltage of Strain module channel CH$.


Example


:UNIT:BRIDge CH1_1,5
:UNIT:BRIDge? CH1_1
(Response)  :UNIT:BRIDGE CH1_1,5  (when headers are enabled)


Note


CH$ must be on a Strain module.


Usage
Conditions


All functions




Execute auto-balancing and query the result for the selected channel (Strain module)

8860, 8861


Syntax


(Command)
(Query)


:UNIT:CHBAlance CH$
:UNIT:CHBAlance? CH$

(Response)

CH$,A<NR1>
A = -1, 0, 1


Details


Executes auto-balancing on channel CH$.
Returns the result of auto-balancing as an NR1 numerical value.

A = -1  (Unrelated module)
A = 0  (Success)
A = 1  (Failure)


Example


:UNIT:CHBAlance CH1_1
:UNIT:CHBAlance? CH1_1
(Response)  :UNIT:CHBALANCE CH1_1,0  (when headers are enabled)


Note


-


Usage
Conditions


All functions
The specified channel belongs to a Strain module.




Set or query the Charge module measurement mode

8860, 8861


Syntax


(Command)
(Query)


:UNIT:CMODe CH$,A$
:UNIT:CMODe? CH$

(Response)

CH$,A$
CH$ = CHm_n
A$ = VOLT, CHARge, PREamp


Details


Sets the measurement mode of channel CH$ in a Charge module.
Returns the setting of the measurement mode of channel CH$ in a Charge module as a text string.

VOLT  (Voltage)
CHARge  (Charge)
PREamp  (Preamplifier)


Example


:UNIT:CMODe CH1_1,CHARge
:UNIT:CMODe? CH1_1
(Response)  :UNIT:CMODE CH1_1,CHARGE  (when headers are enabled)


Note


The measurement mode can also be changed by the :UNIT:MODE command.


Usage
Conditions


All functions
The specified channel belongs to a Charge module.




Set or query input coupling

8860, 8861


Syntax


(Command)
(Query)


:UNIT:COUPling CH$,A$
:UNIT:COUPling? CH$

(Response)

CH$,A$
CH$ = CHm_n
A$ = DC, AC, GND


Details


Sets the type of input coupling for channel CH$.
Returns the current input coupling setting for channel CH$.

DC  (DC coupling)
AC  (AC coupling)
GND  (Grounded)


Example


:UNIT:COUPling CH1_1,AC
:UNIT:COUPling? CH1_1
(Response)  :UNIT:COUPLING CH1_1,AC  (when headers are enabled)


Note


-


Usage
Conditions


All functions




Set or query the sensor sensitivity of a Charge module

8860, 8861


Syntax


(Command)
(Query)


:UNIT:CSENs CH$,A
:UNIT:CSENs? CH$

(Response)

CH$,A<NR3>
CH$ = CHm_n
A = 0.1 to 10


Details


Sets the sensor sensitivity of the Charge module hosting channel CH$.
Returns the sensor sensitivity setting of Charge module channel CH$ as an NR3 numerical value.


Example


:UNIT:CSENs CH1_1,3.5
:UNIT:CSENs? CH1_1
(Response)  :UNIT:CSENS CH1_1,3.50E+00  (when headers are enabled)


Note


-


Usage
Conditions


All functions
When the specified channel belongs to a Charge module, and the Charge or Pre-amplifier mode is enabled.




Set or query the digital filter in a module

8860, 8861


Syntax


(Command)
(Query)


:UNIT:DFILter CH$,A$
:UNIT:DFILter? CH$

(Response)

CH$,A$
CH$ = CHm_n
A$ = OFF, ON  (Voltage/Temperature)
A$ = OFF, F60HZ, F50HZ, F10HZ  (Scanner)


Details


Sets the digital filter in the module hosting channel CH$.
Returns the current state of the digital filter in the module hosting channel CH$.


Example


:UNIT:DFILter CH1_1,F60HZ
:UNIT:DFILter? CH1_1
(Response)  :UNIT:DFILTER CH1_1,F60HZ  (when headers are enabled)


Note


The digital filter cannot be enabled on every channel of a scanner module.


Usage
Conditions


All functions
The specified channel is on either a Scanner or Voltage/Temperature module (in Temperature mode).




Set or query drift compensation

8860, 8861


Syntax


(Command)
(Query)


:UNIT:DRIFt CH$,A$
:UNIT:DRIFt? CH$

(Response)

CH$,A$
CH$ = CHm_n
A$ = OFF, ON


Details


Sets drift compensation for the module hosting channel CH$.
Returns the drift compensation setting for the module hosting channel CH$.


Example


:UNIT:DRIFt CH1_1,ON
:UNIT:DRIFt? CH1_1
(Response)  :UNIT:DRIFT CH1_1,ON  (when headers are enabled)


Note


-


Usage
Conditions


All functions
The channel is on a Voltage/Temperature module (in Temperature mode).




Set or query an input filter

8860, 8861


Syntax


(Command)
(Query)


:UNIT:FILTer CH$,A
:UNIT:FILTer? CH$

(Response)

CH$,A<NR3>
CH$ = CHm_n
A = 0 or 5 to 1000000


Details


Sets the filter for channel CH$.
Returns the current filter setting for channel CH$.

The filter is OFF when argument A = 0.


Example


:UNIT:FILTer CH1_1,500
:UNIT:FILTer? CH1_1
(Response)  UNIT:FILTER CH1_1,500.0E+00  (when headers are enabled)


Note


-


Usage
Conditions


All functions




Set or query the F/V module hold function

8860, 8861


Syntax


(Command)
(Query)


:UNIT:FVHOld CH$,A$
:UNIT:FVHOld? CH$

(Response)

CH$,A$
CH$ = CHm_n
A$ = ON, 10MS, 1S  (F/V module)


Details


Sets the hold function of the F/V module hosting channel CH$.
Returns the hold function setting of the F/V module hosting channel CH$ as a text string.


Example


:UNIT:FVHOld CH1_1,10MS
(Sets the hold function of F/V module channel CH1-1 to 10 ms.)

:UNIT:FVHOld? CH1_1
(Response)  :UNIT:FVHOLD CH1_1,10MS  (when headers are enabled)


Note


-


Usage
Conditions


All functions
When the specified channel is on an F/V module (with one of the following modes enabled: Frequency, Rotation, 50/60Hz, Integration or Duty).




Set or query the F/V module threshold level

8860, 8861


Syntax


(Command)
(Query)


:UNIT:FVLEvel CH$,A
:UNIT:FVLEvel? CH$

(Response)

CH$,A<NR2>
CH$ = CHm_n
A = -10 to +10  (F/V module)


Details


Sets the threshold level of the F/V module hosting channel CH$.
Returns the threshold level setting of the F/V module hosting channel CH$ as an NR2 numerical value.


Example


:UNIT:FVLEvel CH1_1,2.4
:UNIT:FVLEvel? CH1_1
(Response)  :UNIT:FVLEVEL CH1_1,2.4  (when headers are enabled)


Note


Argument A is multiplied by 1X to 1000X by the probe ratio.


Usage
Conditions


All functions
When the specified channel is on an F/V module (with one of the following modes enabled: Frequency, Rotation, 50/60Hz, Integration or Duty).




Set or query the F/V module measurement mode

8860, 8861


Syntax


(Command)
(Query)


:UNIT:FVMOde CH$,A$
:UNIT:FVMOde? CH$

(Response)

CH$,A$
CH$ = CHm_n
A$ = FREQ, RPM, POWER, COUNT, DUTY, VOLT, CURRent


Details


Sets the measurement mode of the F/V module hosting channel CH$.
Returns the measurement mode setting of the F/V module hosting channel CH$.

FREQ  (Frequency)
RPM  (Rotation)
POWER  (50/60 Hz)
COUNT
DUTY
VOLT  (Voltage)
CURRent


Example


:UNIT:FVMOde CH1_1,FREQ
:UNIT:FVMOde? CH1_1
(Response)  :UNIT:FVMODE CH1_1,FREQ  (when headers are enabled)


Note


The measurement mode can also be changed by the :UNIT:MODE command.


Usage
Conditions


All functions
When the specified channel is on an F/V module.




Set or query the module mode

8860, 8861


Syntax


(Command)
(Query)


:UNIT:MODE CH$,A$
:UNIT:MODE? CH$

(Response)

CH$,A$
CH$ = CHm_n
A$ = VOLT, TEMP, FREQ, RPM, POWER, COUNT, DUTY, CURRent, CHARge, PREamp, DC, RMS, STRAIN


Details


Sets the measurement mode of the module hosting channel CH$.
Returns the current measurement mode setting of the module hosting channel CH$ as a text string.

VOLT  (Voltage)
TEMP  (Temperature)
FREQ  (Frequency)
RPM  (Rotation)
POWER  (50/60 Hz)
COUNT
DUTY
CURRent
CHARge
PREamp  (Pre-amplifier)
DC
RMS
STRAIN


Example


:UNIT:MODE CH1_1,VOLT
:UNIT:MODE? CH1_1
(Response)  :UNIT:MODE CH1_1,VOLT  (when headers are enabled)


Note


Available modes depend on the module type, as follows:

[Analog, FFT, 4-Ch, High-speed, High-resolution]  VOLT
[Voltage/Temperature, Scanner]  VOLT, TEMP
[F/V]  FREQ, RPM, POWER, COUNT, DUTY, VOLT, CURRent
[Charge]  VOLT, CHARge, PREamp
[DC/RMS]  DC, RMS
[Strain]  STRAIN

The measurement mode of the F/V module can also be changed by the :UNIT:FVMOde command.
The measurement mode of the Charge module can also be changed by the :UNIT:CMODe command.


Usage
Conditions


All functions




Enable/disable or query baseline offset

8860, 8861


Syntax


(Command)
(Query)


:UNIT:OFSCancel CH$,A$
:UNIT:OFSCancel? CH$(,OPT$)

(Response)

CH$,A$(,B<NR1>)
CH$ = CHm_n, ALL (ALL applies only to commands)
A$ = OFF, ON
OPT$ = OPTion  (may be omitted)
B = -1, 0, 1  (when OPT$ is specified)


Details


Enables and disables baseline offset cancellation for channel CH$.
When CH$ = ALL, the baseline offset cancellation setting affects all channels.

Returns the current on/off state of baseline offset for channel CH$.
When argument OPT$ is specified, returns the result of the execution of baseline offset cancellation for channel CH$.

B = -1  (Unrelated module)
B = 0  (Success)
B = 1  (Failure)


Example


:UNIT:OFSCancel CH1_1,ON
:UNIT:OFSCancel? CH1_1
(Response)  :UNIT:OFSCANCEL CH1_1,ON  (when headers are enabled)

:UNIT:OFSCancel? CH1_1,OPTion
(Response)  :UNIT:OFSCANCEL CH1_1,ON,0  (when headers are enabled)


Note


-


Usage
Conditions


All functions




Set or query input channel zero position

8860, 8861


Syntax


(Command)
(Query)


:UNIT:POSItion CH$,A
:UNIT:POSItion? CH$

(Response)

CH$,A<NR1>
CH$ = CHm_n
A = -100 to +150 (note)


Details


Sets the (vertical axis) zero position for the channel CH$ waveform on the display.
Returns the current zero position for the channel CH$ waveform.


Example


:UNIT:POSItion CH1_1,50
:UNIT:POSItion? CH1_1
(Response)  :UNIT:POSITION CH1_1,50  (when headers are enabled)


Note


The effect of argument A depends on the display amplitude magnification factor.


Usage
Conditions


All functions




Set or query probe ratio

8860, 8861


Syntax


(Command)
(Query)


:UNIT:PROBe CH$,A$
:UNIT:PROBe? CH$

(Response)

CH$,A$
CH$ = CHm_n
A$ = X1, X10, X100, X1000#1, X1000#2


Details


Sets the probe ratio for F/V module input channel CH$.
Returns the current probe ratio setting for channel CH$ as a text string.

X1  (1:1)
X10  (10:1)
X100  (100:1)
X1000#1  (1000:1 [F/V module: Models 9322 + 9325])
X1000#2  (1000:1 [F/V module: Models 9322 + 9418])


Example


:UNIT:PROBe CH1_1,X100
:UNIT:PROBe? CH1_1
(Response)  :UNIT:PROBE CH1_1,X100  (when headers are enabled)


Note


If specified channel CH$ is not on an F/V module, argument A$ cannot be set to X1000#2.


Usage
Conditions


All functions




Set or query pull-up bias

8860, 8861


Syntax


(Command)
(Query)


:UNIT:PULLup CH$,A$
:UNIT:PULLup? CH$

(Response)

CH$,A$
CH$ = CHm_n
A$ = OFF, ON


Details


Enables and disables pull-up bias on F/V module input channel CH$.
Returns the on/off setting of pull-up bias on F/V module input channel CH$ as a text string.


Example


:UNIT:PULLup CH1_1,ON
:UNIT:PULLup? CH1_1
(Response)  :UNIT:PULLUP CH1_1,ON  (when headers are enabled)


Note


-


Usage
Conditions


All functions
When the specified channel is on an F/V module.




Set or query measurement range

8860, 8861


Syntax


(Command)
(Query)


:UNIT:RANGe CH$,A
:UNIT:RANGe? CH$

(Response)

CH$,A$<NR3>
CH$ = CHm_n
A = Range.


Details


Sets the measurement range for channel CH$.
Returns the current measurement range for channel CH$.


Example


:UNIT:RANGe CH1_1,10.0E-3
:UNIT:RANGe? CH1_1
(Response)  :UNIT:RANGE CH1_1,10.0E-03  (when headers are enabled)


Note


Available ranges depend on the module model and measurement mode.


Usage
Conditions


All functions




Select or query response timing

8860, 8861


Syntax


(Command)
(Query)


:UNIT:RESPonse CH$,A$
:UNIT:RESPonse? CH$

(Response)

CH$,A$
CH$ = CHm_n
A$ = FAST, NORMal, SLOW


Details


Selects the response timing for channel CH$.
Returns the current response timing for channel CH$ as a text string.


Example


:UNIT:RESPonse CH1_1,FAST
:UNIT:RESPonse? CH1_1
(Response)  :UNIT:RESPONSE CH1_1,FAST  (when headers are enabled)


Note


-


Usage
Conditions


All functions
When the specified channel is on a DC/RMS module.




Set or query reference junction compensation

8860, 8861


Syntax


(Command)
(Query)


:UNIT:RJC CH$,A$
:UNIT:RJC? CH$

(Response)

CH$,A$
CH$ = CHm_n
A$ = INT, EXT


Details


Selects the type of reference junction compensation (RJC) for channel CH$.
Returns the current reference junction compensation selection for channel CH$.

INT  (Internal)
EXT  (External)


Example


:UNIT:RJC CH1_1,INT
:UNIT:RJC? CH1_1
(Response)  :UNIT:RJC CH1_1,INT  (when headers are enabled)


Note


-


Usage
Conditions


All functions
The specified channel is on a Voltage/Temperature or Scanner module (Temperature mode).




Set or query the sensor type for Voltage/Temperature, Scanner and FV modules

8860, 8861


Syntax


(Command)
(Query)


:UNIT:SENSor CH$,A$
:UNIT:SENSor? CH$

(Response)

CH$,A$
CH$ = CHm_n
A$ = K, J, E, T, N, R, S, B, W, C3237, C3273_50, C9270, C9271, C9272L, C9272H, C9277, C9278, C9279, C20A, C200A, C500A


Details


Sets the type of thermocouple or sensor for channel CH$.
Returns the type of thermocouple or sensor on channel CH$.


Example


:UNIT:SENSor CH1_1,K
:UNIT:SENSor? CH1_1
(Response)  :UNIT:SENSOR CH1_1,K  (when headers are enabled)


Note


Applicable thermocouple and sensor types depend on the module model.

[8937 Voltage/Temperature (Temperature mode)]   K, J, E, T, N, R, S, B
[8958 Scanner (Temperature mode)]   K, J, E, T, N, R, S, B, W
[8940 F/V (Current mode)]   C3237, C3273_50, C9270, C9271, C9272L, C9272H, C9277, C9278, C9279, C20A, C200A, C500A


Usage
Conditions


All functions
The specified channel is on a Voltage/Temperature or Scanner module (in Temperature mode), or an F/V module (in Current mode).




Select or query the sampling clock (timebase) source

8860, 8861


Syntax


(Command)
(Query)


:UNIT:STYPe CH$,A$
:UNIT:STYPe? CH$

(Response)

CH$,A$
CH$ = CHm_n, CHx
A$ = OFF, ON  (External sampling)
A$ = OFF, S1, S2  (Internal sampling)


Details


Selects the sampling clock (timebase) source for channel CH$.
Return the current sampling clock (timebase) source selection for channel CH$.

OFF  (Measurement disabled)
ON  (Measurement enabled)
S1  (Use internal Timebase 1)
S2  (Use internal Timebase 2)


Example


:UNIT:STYPe CH1_1,S1
:UNIT:STYPe? CH1_1
(Response)  :UNIT:STYPE CH1_1,S1  (when headers are enabled)


Note


Settings are restricted if a Scanner module is installed.
Argument A$ cannot be set to S2 when the Timebase 2 mode is disabled.


Usage
Conditions


MEM