UNIT Commands (Set and query input channel settings)


Execute zero adjustment


Syntax


(Command)


:UNIT:ADJUST



Details



Example


:UNIT:ADJUST


Note



Usage
Conditions


When not measuring.




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


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 (15 channels / module).

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


Example


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


Note


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


Usage
Conditions


-




Enable/disable or query thermocouple burnout mode


Syntax


(Command)
(Query)


:UNIT:BOUT A,B$
:UNIT:BOUT? A$

(Response)

A<NR1>,B$
A = 1 to 4 (module number)
B$ = OFF, ON


Details


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


Example


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


Note


-


Usage
Conditions


When the specified channel belongs to a voltage/temperature module (in Temperature mode).




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


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


The specified channel belongs to a Strain module.




Set or query input coupling


Syntax


(Command)
(Query)


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

(Response)

CH$,A$
CH$ = CH1_1 to CH4_15
A$ = DC, ACRMS, GND


Details


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

DC  (DC coupling)  (except MR8905(RMS))
ACRMS  (AC coupling)  (only MR8905(RMS))
GND  (Grounded)  


Example


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


Note


-


Usage
Conditions


-




Set or query the digital filter in a module


Syntax


(Command)
(Query)


:UNIT:DFILter A,B$
:UNIT:DFILter? A

(Response)

CH$,A$
A = 1 to 4 (module number)
B$ = OFF, F50HZ, F60HZ


Details


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


Example


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


Note



Usage
Conditions


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




Set or query an input filter


Syntax


(Command)
(Query)


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

(Response)

CH$,A<NR3>
CH$ = CH1_1 to CH4_15
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.

  • (Analog module) A = 0, 5, 50, 500, 5000
  • (Strain module) A = 0, 5, 10, 100, 1000


  • 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


    -




    Set or query the module mode


    Syntax


    (Command)
    (Query)


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

    (Response)

    CH$,A$
    CH$ = CH1_1 to CH4_15
    A$ = NONE, VOLT, STRAin, TEMP, CAN, INST, RMS


    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.

    NONE  (not present)
    VOLT  (Voltage)
    STRAin
    TEMP  (Temperature)
    CAN  (CAN)
    INST  (Instant)
    RMS  (RMS)


    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:

    [Voltage]  VOLT
    [Strain/Voltage]  STRAin, VOLT
    [Voltage/Temperature]  VOLT, TEMP
    [CAN]  CAN
    [RMS]  INST, RMS


    Usage
    Conditions


    -




    Set or query the dividing ratio for the pulse channel


    Syntax


    (Command)
    (Query)


    :UNIT:PCOUnt CH$,A
    :UNIT:PCOUnt? CH$

    (Response)

    CH$,A<NR1>
    CH$ = P1 to P2
    A = 1 to 50000


    Details


    Makes the dividing ratio settings for the pulse channel specified by CH$.
    The settings will be returned as an NR1 number.


    Example


    :UNIT:PCOUnt P1,10
    :UNIT:PCOUnt? P1
    (Response)  :UNIT:PCOUNT P1,10  (when headers are enabled)


    Note


    -


    Usage
    Conditions


    -




    Set or query the pulse input filter


    Syntax


    (Command)
    (Query)


    :UNIT:PFILter CH$,A$
    :UNIT:PFILter? CH$

    (Response)

    CH$,A$
    CH$ = P1 to P2
    A$ = OFF, ON


    Details


    Makes settings for the input filter of the pulse channel specified by CH$.
    The settings will be returned as a text string.

    OFF (Filter OFF)
    ON (Filter ON)


    Example


    :UNIT:PFILter P1,ON
    :UNIT:PFILter? P1
    (Response)  :UNIT:PFILTER P1,ON  (when headers are enabled)


    Note


    -


    Usage
    Conditions


    -




    Set or query the measurement mode settings of the pulse channel


    Syntax


    (Command)
    (Query)


    :UNIT:PMODe CH$,A$
    :UNIT:PMODe? CH$

    (Response)

    CH$,A$
    CH$ = P1 to P2
    A$ = ADD, INST, REVOlve


    Details


    Makes settings for the measurement mode of the pulse channel specified by CH$.
    The settings will be returned as a text string.

    ADD  [Integration (add)]
    INST  [Integration (instantaneous)]
    REVOlve  [Revolution number]


    Example


    :UNIT:PMODe P1,ADD
    :UNIT:PMODe? P1
    (Response)  :UNIT:PMODE P1,ADD  (when headers are enabled)


    Note


    -


    Usage
    Conditions


    -




    Set or query the integration over processing settings


    Syntax


    (Command)
    (Query)


    :UNIT:POVEr CH$,A$
    :UNIT:POVEr? CH$

    (Response)

    CH$,A$
    CH$ = P1 to P2
    A$ = KEEP, RESEt


    Details


    Makes settings for integration over processing of the pulse channel specified by CH$.
    The settings will be returned as a text string.

    KEEP (maintain)
    RESEt (reset)


    Example


    :UNIT:POVEr P1,KEEP
    :UNIT:POVEr? P1
    (Response)  :UNIT:POVER P1,KEEP  (when headers are enabled)


    Note


    -


    Usage
    Conditions


    -




    Set or query probe ratio


    Syntax


    (Command)
    (Query)


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

    (Response)

    CH$,A$
    CH$ = CH1_1 to CH4_15
    A$ = X1, X10, X100, X1000


    Details


    Sets the probe ratio for 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  (1000:1)


    Example


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


    Note


    -


    Usage
    Conditions


    -




    Set or query the pulse channel slope settings


    Syntax


    (Command)
    (Query)


    :UNIT:PSLOpe CH$,A$
    :UNIT:PSLOpe? CH$

    (Response)

    CH$,A$
    CH$ = P1 to P2
    A$ = UP, DOWN


    Details


    Makes settings for the slope of the pulse channel specified by CH$.
    The settings will be returned as a text string.

    UP (rising)
    DOWN (falling)


    Example


    :UNIT:PSLOpe P1,UP
    :UNIT:PSLOpe? P1
    (Response)  :UNIT:PSLOPE P1,UP  (when headers are enabled)


    Note


    -


    Usage
    Conditions


    -




    Set or query the pulse input threshold settings


    Syntax


    (Command)
    (Query)


    :UNIT:PTHRe CH$
    :UNIT:PTHRe? CH$,A

    (Response)

    CH$,A<NR1>
    CH$ = P1 to P2
    A = 1, 4


    Details


    Makes settings for the threshold of the pulse channel specified by CH$.
    The settings will be returned as an NR1 number.

    A = 1 (1V)
    A = 4 (4V)


    Example


    :UNIT:PTHRe P1,1
    :UNIT:PTHRe? P1
    (Response)  :UNIT:PTHRE P1,1  (when headers are enabled)


    Note


    -


    Usage
    Conditions


    -




    Set or query the pulse integration timing settings


    Syntax


    (Command)
    (Query)


    :UNIT:PTIMing CH$,A$
    :UNIT:PTIMing? CH$

    (Response)

    CH$,A$
    CH$ = P1 to P2
    A$ = STARt, TRIGger


    Details


    Makes settings for the integration timing of the pulse channel specified by CH$.
    The settings will be returned as a text string.

    STARt (at start)
    TRIGger (at trigger)


    Example


    :UNIT:PTIMing P1,STARt
    :UNIT:PTIMing? P1
    (Response)  :UNIT:PTIMING P1,START  (when headers are enabled)


    Note


    -


    Usage
    Conditions


    -




    Set or query measurement range


    Syntax


    (Command)
    (Query)


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

    (Response)

    CH$,A$<NR3>
    CH$ = CH1_1 to CH4_15, P1 to P2
    A = Range.


    Details


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


    Example


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


    Note


    Available ranges depend on the module model and measurement mode.


    Usage
    Conditions


    -




    Set or query the data refresh settings


    Syntax


    (Command)
    (Query)


    :UNIT:RENEw A,B$
    :UNIT:RENEw? A

    (Response)

    A<NR1>,B$
    A = 1 to 4 (module number)
    B$ = FAST, NORMal


    Details


    Makes settings to refresh the data of the unit specified by A.
    The settings will be returned as a text string.

    FAST (fast refresh rate)
    NORMal (normal refresh rate)


    Example


    :UNIT:RENEw 1,FAST
    :UNIT:RENEw? 1
    (Response)  :UNIT:RENEW 1,FAST  (when headers are enabled)


    Note


    -


    Usage
    Conditions


    The specified channel must originate from a voltage/temperature input unit (in thermocouple mode), with the digital filter settings NOT off.




    Set or query reference junction compensation


    Syntax


    (Command)
    (Query)


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

    (Response)

    CH$,A$
    CH$ = CH1_1 to CH4_15
    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


    The specified channel is on a Voltage/Temperature module (Temperature mode).




    Set or query the sensor type for Voltage/Temperature module


    Syntax


    (Command)
    (Query)


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

    (Response)

    CH$,A$
    CH$ = CH1_1 to CH4_15
    A$ = K, J, E, T, N, R, S, B, W


    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


    -


    Usage
    Conditions


    The specified channel is on a Voltage/Temperature (in Temperature mode).