2.2 Detailed Explanation of the Commands

2.2.1 Explanation
The following sections describe the format and functions of individual commands
The following is an example of how the descriptions are organized.


( ) Sets and queries the recording interval.                    ___________(1)
     Syntax        (command)    :CONFigure:SAMPle A             ___________(2)
                   (query)      :CONFigure:SAMPle?
                   (response)   A<NR3>
     Explanation   Sets the recording interval to a numerical value (unit seconds).___________(3)
                   Returns the currently set value of the recording interval
                   as an NR3 numerical value.
                   (If an attempt is made to set the time axis range to
                   a non-permitted value, and there is a range above that
                   value, that range will be selected.)
                   (10ms=0.01,@20ms=0.02,@50ms=0.05
                   100ms=0.1, 200ms=0.2, 500ms=0.5
                   1s=1, 2s=2, 5s=5
                   10s=10, 20s=20,30s=30
                   1min=60, 2min=120, 5min=300
                   10min=600, 20min=1200, 30min=1800
                   1h=3600)
     Example       :CONFigure:SAMPle +100.0E-3                  ___________(4)
                   Sets the recording interval to 100ms.
     Note                                                       ___________(5)


(1) Command function

(2) Command syntax
command gives the syntax of a command program message,
query the syntax of query program message, and
response the format of the response message.
The parameters,referred to as data, are shown as follows:
A,B,C,... Numerical data (e.g. 1.5, 10E-3)
A$,B$,... Character data (e.g. A,B1,GND,OFF)
"A","A$",.. Character string data (e.g. "1.5","mA")
(Single quotation marks(') can be used instead of double quotation
marks(").)

The format of numerical data follows the formats <NR1>,<NR2>,and<NR3>.
Example
A<NR1> Numerical parameter in NR1 format
A<NR2> Numerical parameter in NR2 format
A<NR3> Numerical parameter in NR3 format

NOTE: If no format is mentioned,<NR1>format is accepted.
NR1 format integer data
NR2 format fixed point numbers
NR3 format floating point numbers
The term "NRf format" includes all these three formats.
When the unit is receiving a command or query program message, it
accepts format,but when it is sending it utilizes whichever one of
the formats <NR1> to <NR3> is indicated in the particular command.
Response messages may or may not have headers prefixed.
(3) Explanation of the command function.

(4) Example of command use.

(5) This lists the functions in which the command may be used.

Execution of commands
*Commands are input into the input buffer and are executed in order.
*However the :ABORT command is executed immediately, even if commands
are waiting in the input buffer - more precisely, at the instant its
terminator is received.
*Commands other than those which can be handled by the unit in its
current state are not executed but generate execution errors.
This happens, for example, when in memory recorder function it is
attempted to execute a recorder mode setting.
*Further, The commands other than the following cannot be executed
during measurement operation.
:STOP, :ABORT, *OPC, *WAI, :HEADer
*The query command is executed during measurement , other than those
which can be handled by the unit in its current state.

2.2.2 Standard Commands

-1. System data commands

(1) *IDN?  ---  Queries device ID.
     Syntax        (query)       *IDN?   
                   (response)    HIOKI,8423,0,V 1.00
                                 ^^^^^ ^^^^ ^ ^^^^^^
                                   1.   2.  3. 4.
     Note          1. First field Manufacturer's name
                   2. Second field Model name
                   3. Third field Serial number (not used: 0)
                   4. Fourth field Software version

(2) *OPT?  ---  Queries device option provision.
     Syntax        (query)       *OPT?   
                   (response)    A1,A2,A3,A4,A5,A6,A7,A8<NR1>(8423) A=0 to 4
                                    0=not present
                                    1= 8948@Voltage/Temp Unit
                                    2= 8996@Digital/Pulse Unit
                                    3= 8949@Universal Unit
                                    4= 8997@Alarm Unit
     Explanation   Whether or not input channel present is returned as an NR1
                   numerical value.


-2.Internal operation commands

(1) *RST  --- Device initial setting.
     Syntax        (command)     *RST
     Explanation   Initializes the unit (same as system reset).
     Note          It does not clear USB,LAN related items.
                   (the event registers, the enable registers, the input
                   buffer and the output queue)
                   Time is required to the end of a *RST command.  
                   Please send the next command after wait for the completion 
                   of an initialization and send *OPC? after *RST, in the case 
                   that you  want to send the next command.  

(2) *TST?   --- Queries the result of the ROM/RAM check.
     Syntax        (query)       *TST?   
                   (response)    A <NR1>
                                 A = 0, 1
                                     0: normal
                                     1: failure
     Explanation   The result of the ROM/RAM check of the unit is returned
                   as an NR1 numerical value.


-3.Synchronous commands

(1) *OPC  --- After all action has been completed during execution, sets
              the LSB (bit 0) of SESR (the standard event status register).
     Syntax        (command)     *OPC
     Explanation   When the command preceding the *OPC command completes
                   execution, the LSB of SESR is set.
     Example       A$;B$;*OPC;C$
                   (After the execution of the commands A$ and B$ is
                   completed, the LSB of SESR is set.)

(2) *OPC?  --- After execution is completed, replies with ASCII [1].
     Syntax        (query)      *OPC?
                   (response)   1
     Explanation   When the command preceding the *OPC command completes
                   execution, the response of ASCII [1] is made.

(3) *WAI  --- After the execution of the command is completed, subsequently
              performs the following command.
     Syntax        (command)    *WAI
     Example       A$;B$;*WAI;C$
                   The command C$ following *WAI is not executed until the 
                   execution of the commands A$ and B$ is completed.


-4.Status and event control commands

(1) *CLS  --- Clears the status byte and associated queues 
              (except for the output queue).
     Syntax        (command)    *CLS
     Explanation   This instruction clears the event register associated
                   with each bit of the status byte register. 
                   It also clears the status byte register.
     Note          Because it does not clear the output queue, it has no
                   effect upon bit 4 (MAV) of the status byte.

(2) *ESR?  --- Reads out and clears the contents of the standard event status 
               register (SESR). 
     Syntax        (query)       *ESR?
                   (response)    A <NR1>
     Explanation   The contents of SESR are returned as an NR1 numerical
                   value.

(3) *STB?  --- Reads the status byte and MSS bit, without performing serial
               polling.
     Syntax        (query)       *STB? 
                   (response)    A <NR1> 
                                 A = 0 to 255
     Explanation   This is the same as reading out the status byte with
                   serial polling. 
     Note          Bit 6 is not RQS, but is MSS. 

(4) :ESR0?  --- Reads and clear event status register 0 (ESR0).
     Syntax        (query)      :ESR0?
                   (response)   A <NR1>
                                A = 0 to 255
     Explanation   The contents of ESR0 are returned as an NR1 numerical
                   value, and ESR0 is cleared.


2.2.3 Specific Commands

-1.Execution control commands

(1) Performs starting.
     Syntax        (command)   :STARt
     Explanation   Same as the START key of the unit.
                   Starts waveform sampling operation.

(2) Performs stopping.
     Syntax        (command)   :STOP
     Explanation   Same as the STOP key of the unit.
                   Terminates at the instant that waveform sampling operation
                   is completed.
     Note          :STOP command after it did the measurement for record time, 
                   when record time is except for a continuation, when you 
                   implement it 1 time it stops.  It does not stop at the time 
                   of a continuation.:STOP command it stops when record time was 
                   implemented 2nd :STOP at the time of except for a continuation 
                   and also continuation, when you implement it twice.  

(3) Aborts processing. 
     Syntax        (command)   :ABORT
     Explanation   Same as the STOP key of the unit. Forced halt. Terminates
                   even if waveform sampling operation is not yet completed. 
                   Also stops printer operation.
     Note          :ABORT command transmission after, please do so that you send 
                   the next command, after you wait for more than 0.2 seconds.  

(7) Queries the unit error number. 
     Syntax        (query)      :ERRor?
                   (response)   A <NR1>
                                 A = error no.
     Explanation   The number of error or warning that has occurred on the
                   unit is returned in <NR1> as a numerical value. 
                   (For errors or warnings, refer to the instruction manual
                   included with the unit.)

(8) Enables and disables headers, and queries header enablement. 
     Syntax        (command)    :HEADer A$
                   (query)      :HEADer?
                   (response)   A$
                                 A$ = OFF, ON
     Explanation   Sets header enablement. When headers are enabled, responses
                   to queries are prefixed by headers; when headers are
                   disabled, responses are not so prefixed.
                   Returns whether or not headers are prefixed to responses to
                   queries.
                   The initial toggle state for headers (when the power is
                   turned on) is OFF
     Example       Response to :HEADer?:
                     1.When headers are disabled: OFF
                     2.When headers are enabled: :HEADER ON

(9) Queries the communication errors. 
     Syntax        (query)      :CERRor?
                   (response)   A, B, C <NR1>
                                 A: parity error
                                 B: overrun error
                                 C: framing error
     Explanation   The number of times of communication errors are returned
                   in <NR1> as a numerical value.

(10) Query the storage status. 
     Syntax        (query)      :STATUS?
                   (response)   A <NR1>
                                 A = bit 0 (starting)
                                     bit 1 (storing)
                                     bit 2 (awaiting trigger)
                                     bit 3 (pre-trigger wait period)
                                     bit 4 (acquiring a waveform)
                                     bit 5 (saving)
     Explanation   Returns the current storage status of the instrument. 
                   For example, the value 3 is returned when starting (bit 0) and storing (bit 1).


-2.CONFigure command(Sets and queries time axis range, recording length, etc.)

:CONFigure

(1) Sets and queries the recording kind (function).  
     Syntax        (command)    :CONFigure:SAMPKind A$
                   (query)      :CONFigure:SAMPKind?
                   (response)   A$
                          A$=NORMal,DUAL,EXT
     Explanation   Sets and queries the recording kind (function).
                   Returns the current setting of the recording kind (function) as
                   character data.
     Example       :CONFigure:SAMPKind NORMal
                   Sets the recording kind (function) to NORMal.

(2) Sets and queries the recording time
     Syntax        (command)    :CONFigure:RECTime A,B,C,D
                   (query)      :CONFigure:RECTime?
                   (response)   A,B,C,D
                                 A=day :0 to 999(day)
                                 B=hour:0 to 23(hour)
                                 C=min :0 to 59(min)
                                 D=sec :0 to 59(sec)
                                    day,hour,min,sec<NR1>
                                    0,0,0,0=cont
     Explanation   Sets the recording time to a numerical value.
                   Returns the currently set value of the recording time
                   as an NR1 numerical value.
     Example       :CONFigure:RECTime 0,0,0,10
                   Sets the recording time to 10sec.

(3) Sets and queries the recording interval (fast).
     Syntax        (command)    :CONFigure:SAMPle A
                   (query)      :CONFigure:SAMPle?
                   (response)   A<NR3>
     Explanation   Sets the recording interval (fast) to a numerical value (unit seconds).
                   Returns the currently set value of the recording interval (fast)
                   as an NR3 numerical value.
                   (If an attempt is made to set the time axis range to
                   a non-permitted value, and there is a range above that
                   value, that range will be selected.)
                   (10ms=0.01,@20ms=0.02,@50ms=0.05
                   100ms=0.1, 200ms=0.2, 500ms=0.5
                   1s=1, 2s=2, 5s=5
                   10s=10, 20s=20,30s=30
                   1min=60, 2min=120, 5min=300
                   10min=600, 20min=1200, 30min=1800
                   1h=3600)
     Example       :CONFigure:SAMPle +100.0E-3
                   Sets the recording interval (fast) to 100ms.

(4) Sets and queries the recording interval (slow).
     Syntax        (command)    :CONFigure:SAMPL2 A
                   (query)      :CONFigure:SAMPL2?
                   (response)   A<NR3>
     Explanation   Sets the recording interval (slow) to a numerical value (unit seconds).
                   Returns the currently set value of the recording interval (slow)
                   as an NR3 numerical value.
                   (If an attempt is made to set the time axis range to
                   a non-permitted value, and there is a range above that
                   value, that range will be selected.)
     Example       :CONFigure:SAMPL2 +200.0E-3
                   Sets the recording interval (slow) to 200ms.
     Note          Do not set the recording interval (slow) to 10ms=0.01,@20ms=0.02,@50ms=0.05
     Note          Do not set the recording interval (slow) faster than recording interval (fast).
     Note          This command is effective only when recording kind (function) is Dual. 

(5) Sets and queries the sampling number (external sampling).
     Syntax        (command)    :CONFigure:EXTRECSamp A
                   (query)      :CONFigure:EXTRECSamp?
                   (response)   A<NR3>
                                A = 1 to 1000000000
     Explanation   Sets the sampling number (external sampling).
                   Returns the currently set value of the sampling number (external sampling)
                   as an NR3 numerical value.
     Example       :CONFigure:EXTRECSamp +1.0E+2
                   Sets the sampling number (external sampling) to 100.
     Note          This command is effective only when recording kind (function) is External. 

(6) Sets and queries the Sync OFF/ON.  
     Syntax        (command)    :CONFigure:SYNCSet A$
                   (query)      :CONFigure:SYNCSet?
                   (response)   A$
                          A$=OFF,ON
     Explanation   Sets and queries the Sync OFF/ON.
                   Returns the current setting of the Sync OFF/ON as
                   character data.
     Example       :CONFigure:SYNCSet ON
                   Sets the Sync OFF/ON to ON.

(7) Sets and queries the Sync MASTER/SLAVE.  
     Syntax        (command)    :CONFigure:SYNCMstslv A$
                   (query)      :CONFigure:SYNCMstslv?
                   (response)   A$
                          A$=MASTER,SLAVE
     Explanation   Sets and queries the Sync MASTER/SLAVE.
                   Returns the current setting of the Sync MASTER/SLAVE as
                   character data.
     Example       :CONFigure:SYNCMstslv MASTER
                   Sets the Sync MASTER/SLAVE to MASTER.

(8) Sets and queries the auto save function  
     Syntax        (command)    :CONFigure:ATSAve A$(,"B$")
                   (query)      :CONFigure:ATSAve?
                   (response)   A$(,"B$")
                                A$=OFF,BIN
                                 OFF:Auto save is disabled. (B$ is omitted.)
                                 BIN:save binary format to PC card.(while starting)
                                B$=file name (up to 8 characters)(can be omitted)
     Explanation   Sets the auto save function.
                   Omit B$ only when A$ = OFF.
                   Returns the auto save function as character data.
     Example       :CONFigure:ATSAve BIN,"DATA"
                   Stores on PC card automatically as binary data.

(9) Sets and queries the realtime save mode.  
     Syntax        (command)    :CONFigure:SAVEMode A$
                   (query)      :CONFigure:SAVEMode?
                   (response)   A$
                          A$=FILEfull,REMove
     Explanation   Sets the realtime save mode when data is stored 
                   in binary format by the auto save function.
                   Returns the current setting of the realtime save mode as
                   character data.
     Example       :CONFigure:SAVEMode FILEfull
                   If a PC card becomes full realtime save is ended.

(10) Sets and queries the realtime save division.  
     Syntax        (command)    :CONFigure:SAVEKind A$
                   (query)      :CONFigure:SAVEKind?
                   (response)   A$
                          A$=NORMal,DIVide,REGUlarly
     Explanation   Sets the realtime save division when data is stored 
                   in binary format by the auto save function.
                   Returns the current setting of the realtime save division as
                   character data.
     Example       :CONFigure:SAVEKind NORMal
                   Sets normal for the auto save division.

(11) Sets and queries the realtime save division length
     Syntax        (command)    :CONFigure:SAVELen A,B,C
                   (query)      :CONFigure:SAVELen?
                   (response)   A,B,C
                                 A=day :0 to 30(day)
                                 B=hour:0 to 23(hour)
                                 C=min :0 to 59(min)
                                    day,hour,min<NR1>
     Explanation   Sets the realtime save division length to a numerical value.
                   Returns the currently set value of the realtime save division length
                   as an NR1 numerical value.
     Example       :CONFigure:SAVELen 0,1,0
                   Sets the realtime save division length to 1hour.

(12) Sets and queries the realtime save division time.
     Syntax        (command)    :CONFigure:SAVETime A
                   (query)      :CONFigure:SAVETime?
                   (response)   A<NR3>
     Explanation   Sets the realtime save division time to a numerical value (unit min).
                   Returns the currently set value of the realtime save division time
                   as an NR3 numerical value.
                   (If an attempt is made to set the division time range to
                   a non-permitted value, and there is a range above that
                   value, that range will be selected.)
                  i1min=1, 2min=2, 5min=5
                    10min=10, 15min=15, 20min=20, 30min=30
                    1h=60, 2h=120, 3h=180
                    4h=240, 6h=360, 8h=480, 12h=720
                    1d=1440j
     Example       :CONFigure:SAVETime +1.0
                   Sets the realtime save division time to 1min.

(13) Sets and queries the realtime save regular time
     Syntax        (command)    :CONFigure:SAVEReg A,B
                   (query)      :CONFigure:SAVEReg?
                   (response)   A,B
                                 A=hour:0 to 23(hour)
                                 B=min :0 to 59(min)
                                    hour,min<NR1>
     Explanation   Sets the realtime save regular time to a numerical value.
                   Returns the currently set value of the realtime save regular time
                   as an NR1 numerical value.
     Example       :CONFigure:SAVEReg 0,0
                   Sets the realtime save regular time to 00:00.


-3.UNIT command (Sets and queries input channel.)

:UNIT

(1) Sets and queries the store enable or disable for channel data record.  
     Syntax        (command)    :UNIT:STORe unit$,ch$,A$
                   (query)      :UNIT:STORe? unit$,ch$
                   (response)   unit$,ch$,A$
                                 unit$=UNIT1 to UNIT8
                                 ch$=CH1 to CH15
                                  A$=OFF,ON
     Explanation   Sets the store enable or disable for the channel designated 
                   by unit$,ch$.
                   Returns the current store enable or disable for the channel
                   designated by unit$,ch$ as character data.
     Example       :UNIT:STORe  UNIT,CH1,ON
                    Sets the store for UNIT 1 channel 1 to enable.

(2) Sets and queries the unit sampling kind.  
     Syntax        (command)    :UNIT:SAMPNo unit$,A$
                   (query)      :UNIT:SAMPNo? unit$
                   (response)   unit$,ch$,A$
                                 unit$=UNIT1 to UNIT8
                                 A$=SAMP1,SAMP2
     Explanation   Sets the unit sampling kind for the unit designated 
                   by unit$.
                   Returns the current unit sampling kind for the unit
                   designated by unit$ as character data.
     Example       :UNIT:SAMPNo UNIT1,SAMP1
                    Sets the unit sampling kind for UNIT 1 to SAMP1.

(3) Sets and queries the input channel filter (fast).  
     Syntax        (command)    :UNIT:FILTer A$
                   (query)      :UNIT:FILTer?
                   (response)   A$
                           A$=OFF,50HZ,60HZ
     Explanation   Sets the input channel filter (fast).
                   Returns the input channel filter (fast) as character data.
     Example       :UNIT:FILTer 50HZ
                   Sets the input channel filter (fast) to 50HZ.

(4) Sets and queries the input channel filter (slow).  
     Syntax        (command)    :UNIT:FILT2 A$
                   (query)      :UNIT:FILT2?
                   (response)   A$
                           A$=OFF,50HZ,60HZ
     Explanation   Sets the input channel filter (slow).
                   Returns the input channel filter (slow) as character data.
     Example       :UNIT:FILT2 50HZ
                   Sets the input channel filter (slow) to 50HZ.

(5) Sets and queries the measurement mode of an input channel. 
     Syntax        (command)    :UNIT:INMOde unit$,ch$,A$
                   (query)      :UNIT:INMOde? unit$,ch$
                   (response)   unit$,ch$,A$
                                 unit$=UNIT1 to UNIT8
                                 ch$=CH1 to CH15
                                 A$=VOLTAGE,TC,RTD,HUMIDITY
     Explanation   Sets the measurement mode for the channel designated by unit$,ch$.
                   Returns the current measurement mode for the channel designated by 
                   unit$,ch$ as character data.
     Example       :UNIT:INMOde UNIT1,CH1,VOLTAGE
                   Sets the measurement mode for unit 1,channel 1 to voltage.
     Note          RTD,HUMIDITY is only 8949 universal unit
     Note          This command is effective only when 8949 Universal Unit 
                                                    or 8948 Voltage/Temp Unit. 

(6) Sets and queries the measurement range of an input channel.  
     Syntax        (command)    :UNIT:RANGe unit$,ch$,A
                   (query)      :UNIT:RANGe? unit$,ch$
                   (response)   unit$,ch$,A<NR3>
                                 unit$=UNIT1 to UNIT8
                                 ch$=CH1 to CH15
                                 A=volt(V),tc,rtd(C),humid(%)
     Explanation   Sets the measurement range for the channel designated
                   by unit$,ch$ to a numerical value.
                   (When the range of setting is not exist. and upper range of setting is exist. It becomes the upper range.)
                    Returns the current measurement range for the channel
                   designated by unit$,ch$ as an NR3 numerical value.
     Example       :UNIT:RANGe UNIT1,CH1,+100.E-3
                   Sets the measurement range for unit 1,channel 1 to 100 mV.
     Note          Please set up A=15, when it makes the range of 1-5V with voltage.
     Note          This command is effective only when 8949 Universal Unit 
                                                    or 8948 Voltage/Temp Unit. 

(7) Sets and queries the sensor kind for tc mode.  
     Syntax        (command)    :UNIT:SENSor unit$,ch$,A$
                   (query)      :UNIT:SENSor? unit$,ch$
                   (response)   unit$,ch$,A$
                                 unit$=UNIT1 to UNIT8
                                 ch$=CH1 to CH15
                                 A$=K,J,E,T,N,R,S,B,W
     Explanation   Sets the sensor kind for the channel designated by unit$,ch$.
                   Returns the current sensor kind for the channel designated by 
                   unit$,ch$ as character data.
     Example       :UNIT:SENSor UNIT1,CH1,K
                   Sets the sensor kind for unit 1,channel 1 to K.
     Note          This command is effective only when 8949 Universal Unit 
                                                    or 8948 Voltage/Temp Unit. 

(8) Sets and queries the point of contact compensation for tc mode.
     Syntax        (command)    :UNIT:RJC unit$,ch$,A$
                   (query)      :UNIT:RJC? unit$,ch$
                   (response)   unit$,ch$,A$
                                 unit$=UNIT1 to UNIT8
                                 ch$=CH1 to CH15
                                 A$=INT,EXT
     Explanation   Sets the point of contact compensation for the channel 
                   designated by unit$,ch$.
                   Returns the current point of contact compensation for the 
                   channel designated by unit$,ch$ as character data.
     Example       :UNIT:RJC UNIT1,CH1,INT
                   Sets the point of contact compensation for unit 1,channel 1 to int.
     Note          This command is effective only when 8949 Universal Unit 
                                                    or 8948 Voltage/Temp Unit. 

(9) Sets and queries the disconnection detection for tc mode.  
     Syntax        (command)    :UNIT:WIRE unit$,ch$,A$
                   (query)      :UNIT:WIRE? unit$,ch$
                   (response)   unit$,ch$,A$
                                 unit$=UNIT1 to UNIT8
                                 ch$=CH1 to CH15
                                 A$=OFF,ON
     Explanation   Sets the disconnection detection for the channel designated 
                   by unit$,ch$.
                   Returns the current disconnection detection for the channel 
                   designated by unit$,ch$ as character data.
     Example       :UNIT:WIRE UNIT1,CH1,ON
                   Sets the point of contact compensation for unit 1,channel 1 to on.
     Note          This command is effective only when 8949 Universal Unit 
                                                    or 8948 Voltage/Temp Unit. 

(10) Sets and queries the rtd kind for rtd mode.  
     Syntax        (command)    :UNIT:RTYPe unit$,ch$,A$
                   (query)      :UNIT:RTYPe? unit$,ch$
                   (response)   unit$,ch$,A$
                                 unit$=UNIT1 to UNIT8
                                 ch$=CH1 to CH15
                                 A$=PT100,JPT100
     Explanation   Sets the rtd kind for the channel designated by unit$,ch$.
                   Returns the current rtd kind for the channel designated by 
                   unit$,ch$ as character data.
     Example       :UNIT:RTYPe UNIT1,CH1,PT100
                   Sets the rtd kind for unit 1,channel 1 to pt100.
     Note          This command is effective only when 8949 Universal Unit. 

(11) Sets and queries the connect kind for rtd mode.  
     Syntax        (command)    :UNIT:RCONnect unit$,ch$,A$
                   (query)      :UNIT:RCONnect? unit$,ch$
                   (response)   unit$,ch$,A$
                                 unit$=UNIT1 to UNIT8
                                 ch$=CH1 to CH15
                                 A$=3LINE,4LINE
     Explanation   Sets the connect kind for the channel designated by unit$,ch$.
                   Returns the current connect kind for the channel designated by 
                   unit$,ch$ as character data.
     Example       :UNIT:RCONnect UNIT1,CH1,4LINE
                   Sets the rtd kind for unit 1,channel 1 to 4line.
     Note          This command is effective only when 8949 Universal Unit. 

(12) Sets and queries the measurement mode of an input pulse channel.   
     Syntax        (command)    :UNIT:PINMOde unit$,ch$,A$
                   (query)      :UNIT:PINMOde? unit$,ch$
                   (response)   unit$,ch$,A$
                                 unit$=UNIT1 to UNIT8
                                 ch$=CH1 to CH15
                                 A$=COUNT,REVOLVE
     Explanation   Sets the measurement mode for the pulse channel designated by 
                   unit$,ch$.
                   Returns the current measurement mode for the pulse channel 
                   designated by unit$,ch$ as character data.
     Example       :UNIT:PINMOde UNIT1,CH1,COUNT
                   Sets the measurement mode for unit 1,channel 1 to count.
     Note          This command is effective only when 8996 Digital/Pulse Unit. 

(13) Sets and queries the count mode of an input pulse channel.   
     Syntax        (command)    :UNIT:PCOMOde unit$,ch$,A$
                   (query)      :UNIT:PCOMOde? unit$,ch$
                   (response)   unit$,ch$,A$
                                 unit$=UNIT1 to UNIT8
                                 ch$=CH1 to CH15
                                 A$=ADD,INST
     Explanation   Sets the count mode for the pulse channel designated by 
                   unit$,ch$.
                   Returns the current count mode for the pulse channel 
                   designated by unit$,ch$ as character data.
     Example       :UNIT:PCOMOde UNIT1,CH1,ADD
                   Sets the count mode for unit 1,channel 1 to add.
     Note          This command is effective only when 8996 Digital/Pulse Unit. 

(14) Sets and queries the pulse num per revolve.  
     Syntax        (command)    :UNIT:PCOUnt unit$,ch$,A
                   (query)      :UNIT:PCOUnt? unit$,ch$
                   (response)   unit$,ch$,A<NR1>
                                 unit$=UNIT1 to UNIT8
                                 ch$=CH1 to CH15
                                 A=pulse num per revolve(1 to 9999)
     Explanation   Sets the pulse num per revolve for the pulse channel designated by
                   unit$,ch$ in the range to a numerical value.
                   Returns the current pulse num per revolve for the pulse channel
                   designated by unit$,ch$ as an NR1 numerical value
     Example       :UNIT:PCOUnt UNIT1,CH1,1
                   Sets the pulse num per revolve for unit 1,channel 1 to 1.
     Note          This command is effective only when 8996 Digital/Pulse Unit. 

(15) Sets and queries the pulse channel count slope.   
     Syntax        (command)    :UNIT:PSLOPe unit$,ch$,A$
                   (query)      :UNIT:PSLOPe? unit$,ch$
                   (response)   unit$,ch$,A$
                                 unit$=UNIT1 to UNIT8
                                 ch$=CH1 to CH15
                                 A$=UP,DOWN
     Explanation   Sets the count slope for the channel designated by unit$,ch$.
                   Returns the current count slope for the channel designated by 
                   unit$,ch$ as character data.
     Example       :UNIT:PSLOPe UNIT1,CH1,UP
                   Sets the count slop for unit 1,channel 1 to up.
     Note          This command is effective only when 8996 Digital/Pulse Unit. 

(16) Sets and queries the pulse threshold level.   
     Syntax        (command)    :UNIT:PTHRe unit$,ch$,A$
                   (query)      :UNIT:PTHRe? unit$,ch$
                   (response)   unit$,ch$,A$
                                 unit$=UNIT1 to UNIT8
                                 ch$=CH1 to CH15
                                 A$=1V,4V
     Explanation   Sets the pulse threshold level for the channel designated by unit$,ch$.
                   Returns the current pulse threshold level for the channel designated by 
                   unit$,ch$ as character data.
     Example       :UNIT:PTHRe UNIT1,CH1,1V
                   Sets the pulse threshold level for unit 1,channel 1 to 1V.
     Note          This command is effective only when 8996 Digital/Pulse Unit. 

(17) Sets and queries the pulse channel filter.   
     Syntax        (command)    :UNIT:PFILTer unit$,ch$,A$
                   (query)      :UNIT:PFILTer? unit$,ch$
                   (response)   unit$,ch$,A$
                                 unit$=UNIT1 to UNIT8
                                 ch$=CH1 to CH15
                                 A$=OFF,ON
     Explanation   Sets the filter for the channel designated by unit$,ch$.
                   Returns the current filter for the channel designated by 
                   unit$,ch$ as character data.
     Example       :UNIT:PFILTer UNIT1,CH1,ON
                   Sets the filter for unit 1,channel 1 to ON.
     Note          This command is effective only when 8996 Digital/Pulse Unit. 

(18) Sets and queries the pulse or logic.   
     Syntax        (command)    :UNIT:PLSLogic unit$,ch$,A$
                   (query)      :UNIT:PLSLogic? unit$,ch$
                   (response)   unit$,ch$,A$
                                 unit$=UNIT1 to UNIT8
                                 ch$=CH1 to CH15
                                 A$=PLS,LOGIC
     Explanation   Sets the pulse or logic for the channel designated by unit$,ch$.
                   Returns the current pulse or logic for the channel designated by 
                   unit$,ch$ as character data.
     Example       :UNIT:PLSLogic UNIT1,CH1,PLS
                   Sets the pulse or logic for unit 1,channel 1 to PLS.
     Note          This command is effective only when 8996 Digital/Pulse Unit. 


-4.SCALing command(Sets and queries scaling at channel screen.)

:SCALing

(1) Sets and queries the type of scaling. 
     Syntax        (command)    :SCALing:KIND unit$,ch$,A$
                   (query)      :SCALing:KIND? unit$,ch$
                   (response)   unit$,ch$,A$
                                 unit$=UNIT1 to UNIT8
                                 ch$=CH1 to CH15
                                 A$=POINT,RATIO
     Explanation   Sets the type of scaling designated by unit$,ch$.
                   Returns the current type of scaling designated 
                   by unit$,ch$ as a character string.
     Example       :SCALing:KIND UNIT1,CH1,POINT
                   Sets the type of scaling for unit 1,channel 1 to POINT(2-point).
     Note          This command is effective only when 8949 Universal Unit 
                                                    or 8948 Voltage/Temp Unit 
                                                    or 8996 Digital/Pulse Unit. 

(2) Sets and queries the scaling kind.
     Syntax        (command)    :SCALing:SET unit$,ch$,A$
                   (query)      :SCALing:SET? unit$,ch$
                   (response)   unit$,ch$,A$
                                 unit$=UNIT1 to UNIT8
                                 ch$=CH1 to CH15
                                 A$=OFF,SCI,ENG
     Explanation   Sets the scaling kind  designated by unit$,ch$.
                   Returns the current scaling kind designated 
                   by unit$,ch$ as a character string.
     Example       :SCALing:SET UNIT1,CH1,ENG
                   Sets the scaling kind for unit 1,channel 1 to ENG.
     Note          This command is effective only when 8949 Universal Unit 
                                                    or 8948 Voltage/Temp Unit 
                                                    or 8996 Digital/Pulse Unit. 

(3) Sets and queries the scaling conversion value.  
     Syntax        (command)    :SCALing:VOLT unit$,ch$,A
                   (query)      :SCALing:VOLT? unit$,ch$
                   (response)   unit$,ch$,A<NR3>
                                 unit$=UNIT1 to UNIT8
                                 ch$=CH1 to CH15
                                 A=-9.9999E+9 to +9.9999E+9
     Explanation   Sets the scaling conversion value for the channel designated 
                   by unit$,ch$.
                   Returns the current scaling conversion value setting
                   for the channel designated by unit$,ch$ as an NR3 numerical value.
     Example       :SCALing:VOLT UNIT1,CH1,+2.0E-3
                   Sets the scaling conversion value (eu/V) for unit 1,channel 1 
                   to +2. 0E-3.
     When allowed  when the conversion scaling is set to RATIO.
     Note          This command is effective only when 8949 Universal Unit 
                                                    or 8948 Voltage/Temp Unit 
                                                    or 8996 Digital/Pulse Unit. 

(4) Sets and queries the scaling offset.  
     Syntax        (command)    :SCALing:OFFSet unit$,ch$,A
                   (query)      :SCALing:OFFSet? unit$,ch$
                   (response)   unit$,ch$,A<NR3>
                                 unit$=UNIT1 to UNIT8
                                 ch$=CH1 to CH15
                                 A=-9.9999E+9 to +9.9999E+9
     Explanation   Sets the scaling offset for the channel designated by unit$,ch$.
                   Returns the current scaling offset for the channel
                   designated by unit$,ch$ as an NR3 numerical value.
     Example       :SCALing:OFFSet UNIT1,CH1,+1.0E-3
                   Sets the scaling offset (eu offset) for unit 1,channel 1 to +1. 0E-3.
     When allowed  when the conversion scaling is set to RATIO.
     Note          This command is effective only when 8949 Universal Unit 
                                                    or 8948 Voltage/Temp Unit 
                                                    or 8996 Digital/Pulse Unit. 

(5) Sets and queries the scaling unit.  
     Syntax        (command)    :SCALing:UNIT unit$,ch$,"A$"
                   (query)      :SCALing:UNIT? unit$,ch$
                   (response)   unit$,ch$,"A$"
                                 unit$=UNIT1 to UNIT8
                                 ch$=CH1 to CH15
                                 A$ = scaling unit (up to 7 characters)
     Explanation   Sets the scaling unit for the channel designated by unit$,ch$
                   (up to 7 characters allowed).
                   Entry of the special characters is as follows:
                   (Characters other than the following are replaced
                    by spaces.)
                      ^2(= the cube ), ^3(= the square ), ~c (= degree),
                      ~e (= micro strain), ~u (= micro), ~o (= ohm)
                   Returns the current scaling unit for the channel
                   designated by unit$,ch$ as character data.
                   Single quotation marks (') can be used instead of 
                   double quotation marks (").
     Example       :SCALing:UNIT UNIT1,CH1,"mA"
                   Sets the scaling unit for unit 1,channel 1 to milliamps.
     Note          This command is effective only when 8949 Universal Unit 
                                                    or 8948 Voltage/Temp Unit 
                                                    or 8996 Digital/Pulse Unit. 

(6) Sets and queries the scaling VOLT UP and LOW.  
     Syntax        (command)    :SCALing:VOUPLOw unit$,ch$,B,C
                   (query)      :SCALing:VOUPLOw? unit$,ch$
                   (response)   unit$,ch$,B,C<NR3>
                                 unit$=UNIT1 to UNIT8
                                 ch$=CH1 to CH15
                                 B,C=-9.9999E+29 to +9.9999E+29
     Explanation   Sets the scaling VOLT UP and VOLT LOW values for the
                   channel designated by unit$,ch$.
                   Returns the current scaling VOLT UP and VOLT LOW values 
                   for the channel designated by unit$,ch$ as an NR3 numerical value.
     Example       :SCALing:VOUPLOw UNIT1,CH1,+2.0E-1,0
                   Sets the values of the two points preceding conversion.
     When allowed  when the 2-point scaling is set.
     Note          This command is effective only when 8949 Universal Unit 
                                                    or 8948 Voltage/Temp Unit 
                                                    or 8996 Digital/Pulse Unit. 

(7) Sets and queries the scaling SCALE UP and LOW.  
     Syntax        (command)    :SCALing:SCUPLOw unit$,ch$,B,C
                   (query)      :SCALing:SCUPLOw? unit$,ch$
                   (response)   unit$,ch$,B,C<NR3>
                                 unit$=UNIT1 to UNIT8
                                 ch$=CH1 to CH15
                                 B,C=-9.9999E+29 to +9.9999E+29
     Explanation   Sets the scaling SC UP and SC LOW values for the channel
                   designated by unit$,ch$.
                   Returns the current scaling SC UP and SC LOW values for
                   the channel designated by unit$,ch$ as an NR3 numerical value.
     Example       :SCALing:SCUPLOw UNIT1,CH1,1.0E+1,0
                   Sets the converted values of the two points.
     When allowed  when the 2-point scaling is set.
     Note          This command is effective only when 8949 Universal Unit 
                                                    or 8948 Voltage/Temp Unit 
                                                    or 8996 Digital/Pulse Unit. 

(8) Sets and queries the pulse count scaling function. 
     Syntax        (command)    :SCALing:PKIND unit$,ch$,A$
                   (query)      :SCALing:PKIND? unit$,ch$
                   (response)   unit$,ch$,A$
                                 unit$=UNIT1 to UNIT8
                                 ch$=CH1 to CH15
                                 A$=SET1,SET2
     Explanation   Sets the pulse count scaling function for the pulse designated 
                   by unit$,ch$.
                   Returns the current pulse count scaling function for the pulse
                   designated by unit$,ch$ as a character string.
     Example       :SCALing:PKIND UNIT1,CH1,SET1
                   Sets the pulse count scaling function for unit 1,channel 1 to set1.
     Note          This command is effective only when 8996 Digital/Pulse Unit. 


-5.COMMent comman (Sets and queries the comments at channel,status screen.)

:COMMent

(1) Sets and queries the title comments, and inputs comment characters.  
     Syntax        (command)    :COMMent:TITLe "A$"
                   (query)      :COMMent:TITLe?
                   (response)   "A$"
                                 A$ = comment characters (up to 20 characters)
     Explanation   Enables and disables comments, and inputs a string of
                   comment characters.
                   Entry of the special characters is as follows:
                   (Characters other than the following are replaced by
                    spaces.)
                      ^2(= the cube ), ^3(= the square ), ~c (= degree),
                      ~e (= micro strain), ~u (= micro), ~o (= ohm)
                   Comments may be omitted.
                   Returns the current enablement state of title comments,
                   and the characters of the comment if any, as character
                   data.
                   Single quotation marks (') can be used instead of double
                   quotation marks(").
     Example       :COMMent:TITLe "HIOKI"
                   Inputs "HIOKI" as a title comment.

(2) Sets and queries the comment characters for each channel.  
     Syntax        (command)    :COMMent:CH unit$,ch$,"A$"
                   (query)      :COMMent:CH? unit$,ch$ 
                   (response)   unit$,ch$,"A$"
                                 unit$=UNIT1 to UNIT8
                                 ch$=CH1 to CH15
                                  A$ = comment characters (up to 20 characters)
     Explanation   Sets a string of comment characters for the channel
                   specified by unit$,ch$.
                   Entry of the special characters is as follows:
                   (Characters other than the following are replaced by
                    spaces.)
                      ^2(= the cube ), ^3(= the square ), ~c (= degree),
                      ~e (= micro strain), ~u (= micro), ~o (= ohm)
                   Comments may be omitted.
                   Returns a string of comment characters for the channel
                   specified by unit$,ch$ as character data.
                   Single quotation marks (') can be used instead of double
                   quotation marks(").
     Example       :COMMent:CH UNIT1,CH1,"ch1=TEST"
                   Sets the comment display for unit 1,channel 1 to "ch1 = TEST".


-6.TRIGger command (Sets and queries trigger.)

:TRIGger

(1) Sets and queries the trigger use setting.  
     Syntax        (command)    :TRIGger:SET A$
                   (query)      :TRIGger:SET?
                   (response)   A$
                                 A$=OFF,ON
     Explanation   Sets the trigger use setting.
                   Returns the current trigger use setting as character data.
     Example       :TRIGger:SET ON
                   Sets the trigger use setting to ON.

(2) Sets and queries the trigger mode.  
     Syntax        (command)    :TRIGger:MODE A$
                   (query)      :TRIGger:MODE?
                   (response)   A$
                                 A$=SINGle,REPEat
     Explanation   Sets the trigger mode.
                   Returns the current trigger mode as character data.
     Example       :TRIGger:MODE REPEat
                   Sets the trigger mode to repeat.

(3) Sets and queries the pre-trigger.   
     Syntax        (command)    :TRIGger:PRETrig A,B,C,D
                   (query)      :TRIGger:PRETrig?
                   (response)   A,B,C,D
                                 A=day :0 to 999(day)
                                 B=hour:0 to 23(hour)
                                 C=min :0 to 59(min)
                                 D=sec :0 to 59(sec)
                                 day,hour,min,sec<NR1>
     Explanation   Sets pre-trigger value to a numerical value.
                   Returns the current pre-trigger value as an NR1
                   numerical value.
     Example       :TRIGger:PRETrig 0,0,0,10
                   Pre-trigger value is set to 10sec
     Note          Yet, the Pre-trigger value that is able to set up it with 8423 is to 100,000 times in a record interval.  

(4) Sets and queries the trigger timing.  
     Syntax        (command)    :TRIGger:TIMIng A$
                   (query)      :TRIGger:TIMIng?
                   (response)   A$
                                 A$=START,STOP,S_S
     Explanation   Sets the trigger timing.
                   Returns the trigger timing as character data.
     Example       :TRIGger:TIMIng START
                    Sets the trigger timingr to START.

(5) Sets and queries the trigger logical operator (AND/OR).  
     Syntax        (command)    :TRIGger:SOURce A$
                   (query)      :TRIGger:SOURce?
                   (response)   A$
                                 A$=OR,AND
     Explanation   Sets the logical operator determining whether the analog,
                   pulse, logic, external and timer triggers are ANDed or ORed.
                   Returns the current setting of the trigger logical operator
                   (AND/OR) as character data.
     Example       :TRIGger:SOURce OR
                   Sets the trigger source to OR.

(6) Sets and queries the kind of trigger.   
     Syntax        (command)    :TRIGger:KIND unit$,ch$,A$
                   (query)      :TRIGger:KIND? unit$,ch$
                   (response)   unit$,ch$,A$
                                 unit$=UNIT1 to UNIT8
                                 ch$=CH1 to CH15
                                 A$=OFF
                                    LEVEl :level trigger
                                    WINDow :window trigger
     Explanation   Sets the type of trigger for the channel designated by unit$,ch$.
                   Returns as character data the type of the current trigger
                   for the channel designated by unit$,ch$.
     Example       :TRIGger:KIND UNIT1,CH1,LEVEl
                   Sets unit 1,channel 1 to level trigger.
     Note          This command is effective only when 8949 Universal Unit 
                                                    or 8948 Voltage/Temp Unit 
                                                    or 8996 Digital/Pulse Unit. 
     Note          Please set up :TRIGger:SET ON command, in the case that you use trigger.

(7) Sets and queries the level trigger direction (slope).  
     Syntax        (command)    :TRIGger:SLOPe unit$,ch$,A$
                   (query)      :TRIGger:SLOPe? unit$,ch$
                   (response)   unit$,ch$,A$
                                 unit$=UNIT1 to UNIT8
                                 ch$=CH1 to CH15
                                 A$=UP  :rising
                                    DOWN:falling
     Explanation   Sets the trigger direction of the level trigger of
                   the channel designated by unit$,ch$.
                   Returns as a character value the current level trigger 
                   direction of the channel designated by unit$,ch$.
     Example       :TRIGger:SLOPe UNIT1,CH1,UP
                   Sets the level trigger direction of unit 1,channel 1 to rising.
     Note          This command is effective only when 8949 Universal Unit 
                                                    or 8948 Voltage/Temp Unit 
                                                    or 8996 Digital/Pulse Unit. 

(8) Sets and queries trigger level of the level trigger.   
     Syntax        (command)    :TRIGger:LEVEl unit$,ch$,A
                   (query)      :TRIGger:LEVEl? unit$,ch$
                   (response)   unit$,ch$,A<NR3>
                                 unit$=UNIT1 to UNIT8
                                 ch$=CH1 to CH15
                                 A=volt(V),tc,rtd(C),humid(%)
                   (The setting level is 1.50 times of a range.  
                   100mV range at the time of,-150mV to 150mV )
     Explanation   Sets the trigger level of the level trigger of the channel
                   designated by unit$,ch$.
                   Returns as an NR3 numerical value the current trigger level
                   of the channel designated by unit$,ch$.
     Example       :TRIGger:LEVEl UNIT1,CH1,50E-3
                   Sets the trigger level of unit 1,channel 1 to 50 mV.
     Note          This command is effective only when 8949 Universal Unit 
                                                    or 8948 Voltage/Temp Unit 

(9) Sets and queries the trigger level of the pulse level trigger.   
     Syntax        (command)    :TRIGger:PLEVEl unit$,ch$,A
                   (query)      :TRIGger:PLEVEl? unit$,ch$
                   (response)   unit$,ch$,A<NR3>
                                 unit$=UNIT1 to UNIT8
                                 ch$=CH1 to CH15
                                 A=count(c),revolve(r/s)
                   (The setting level is 0c to 1000000000c)
     Explanation   Sets the trigger level of the pulse level trigger of the channel
                   designated by unit$,ch$.
                   Returns as an NR3 numerical value the current pulse trigger level
                   of the channel designated by unit$,ch$.
     Example       :TRIGger:PLEVEl UNIT1,CH1,50E+0
                   Sets the trigger level of unit 1,channel 1 to 50counts.
     Note          This command is effective only when 8996 Digital/Pulse Unit. 

(10) Sets and queries the window trigger direction (side).  
     Syntax        (command)    :TRIGger:SIDE unit$,ch$,A$
                   (query)      :TRIGger:SIDE? unit$,ch$
                   (response)   unit$,ch$,A$
                                 unit$=UNIT1 to UNIT8
                                 ch$=CH1 to CH15
                                 A$=IN  :window in
                                    OUT :window out
     Explanation   Sets the trigger direction of the window trigger of
                   the channel designated by unit$,ch$.
                   Returns as a character value the current window trigger 
                   direction of the channel designated by unit$,ch$.
     Example       :TRIGger:SIDE UNIT1,CH1,IN
                   Sets the window trigger direction of unit 1,channel 1 to window in.
     Note          This command is effective only when 8949 Universal Unit 
                                                    or 8948 Voltage/Temp Unit 
                                                    or 8996 Digital/Pulse Unit. 

(11) Sets and queries the upper limit level for a window-in/-out trigger.  
     Syntax        (command)    :TRIGger:UPPEr unit$,ch$,A
                   (query)      :TRIGger:UPPEr? unit$,ch$
                   (response)   unit$,ch$,A<NR3>
                                 unit$=UNIT1 to UNIT8
                                 ch$=CH1 to CH15
                                 A=volt(V),tc,rtd(C),humid(%)
                   (The setting level is 1.50 times of a range.  
                   100mV range at the time of,-150mV to 150mV )
     Explanation   Sets the upper limit level of the window trigger of the
                   channel designated by unit$,ch$ as a voltage value.
                   Returns the current upper limit level of the window
                   trigger as an NR3 numerical value of the channel designated by unit$,ch$.
     Example       :TRIGger:UPPEr UNIT1,CH1,+1.0E-3
                   Sets the upper limit level of the window trigger of
                   unit 1,channel 1 to +1.0 mV.
     Note          This command is effective only when 8949 Universal Unit 
                                                    or 8948 Voltage/Temp Unit. 

(12) Sets and queries the lower limit level for a window-in/-out trigger.  
     Syntax        (command)    :TRIGger:LOWEr unit$,ch$,A
                   (query)      :TRIGger:LOWEr? unit$,ch$
                   (response)   unit$,ch$,A<NR3>
                                 unit$=UNIT1 to UNIT8
                                 ch$=CH1 to CH15
                                 A=volt(V),tc,rtd(C),humid(%)
                   (The setting level is 1.50 times of a range.  
                   100mV range at the time of,-150mV to 150mV )
     Explanation   Sets the lower limit level of the window trigger of the
                   channel designated by unit$,ch$ as a voltage value.
                   Returns the current lower limit level of the window trigger
                   as an NR3 numerical value of the channel designated by unit$,ch$.
     Example       :TRIGger:LOWEr UNIT1,CH1,-1.0E-3
                   Sets the lower limit level of the window trigger of
                   unit 1,channel 1 to -1.0 mV.
     Note          This command is effective only when 8949 Universal Unit 
                                                    or 8948 Voltage/Temp Unit. 

(13) Sets and queries the upper limit level for a pulse window-in/-out trigger.  
     Syntax        (command)    :TRIGger:PUPPEr unit$,ch$,A
                   (query)      :TRIGger:PUPPEr? unit$,ch$
                   (response)   unit$,ch$,A<NR3>
                                 unit$=UNIT1 to UNIT8
                                 ch$=CH1 to CH15
                                 A=count(c),revolve(r/s)
                   (The setting level is 0c to 1000000000c)
     Explanation   Sets the upper limit level of the pulse window trigger of the
                   channel designated by unit$,ch$ as a voltage value.
                   Returns the current upper limit level of the pulse window
                   trigger as an NR3 numerical value of the channel designated by unit$,ch$.
     Example       :TRIGger:PUPPEr UNIT1,Ch1,2.0E+3
                   Sets the pulse upper limit trigger level of unit 1,channel 1 to 2000counts.
     Note          This command is effective only when 8996 Digital/Pulse Unit. 

(14) Sets and queries the lower limit level for a pulse window-in/-out trigger. 
     Syntax        (command)    :TRIGger:PLOWEr unit$,ch$,A
                   (query)      :TRIGger:PLOWEr? unit$,ch$
                   (response)   unit$,ch$,A<NR3>
                                 unit$=UNIT1 to UNIT8
                                 ch$=CH1 to CH15
                                 A=count(c),revolve(r/s)
                   (The setting level is 0c to 1000000000c)
     Explanation   Sets the lower limit level of the pulse window trigger of the
                   channel designated by unit$,ch$ as a voltage value.
                   Returns the current lower limit level of the pulse window
                   trigger as an NR3 numerical value of the channel designated by unit$,ch$.
     Example       :TRIGger:PLOWEr UNIT1,CH1,1.0E+3
                   Sets the pulse upper limit trigger level of unit 1,channel 1 to 1000counts.
     Note          This command is effective only when 8996 Digital/Pulse Unit. 

(15) Sets and queries the logical operator (AND/OR) for the trigger pattern 
     of a logic trigger.
     Syntax        (command)    :TRIGger:LOGAnd unit$,A$
                   (query)      :TRIGger:LOGAnd? unit$
                   (response)   unit$,A$
                                 unit$=UNIT1 to UNIT8
                                 A$=OFF,OR,AND
     Explanation   Sets the AND/OR logical operator for the trigger pattern
                   of a logic trigger designated by unit$.
                   Returns the present AND/OR setting for the trigger pattern
                   of a logic trigger designated by unit$ as a character string.
     Example       :TRIGger:LOGAnd UNIT1,OR
                   Sets the AND/OR logical operator for the trigger pattern
                   of unit 1 to OR.
     Note          This command is effective only when 8996 Digital/Pulse Unit. 
     Note          Please set up :TRIGger:SET ON command, in the case that you use trigger.

(16) Sets and queries the trigger pattern for a logic trigger.  
     Syntax        (command)    :TRIGger:LOGPat unit$,"a$" 
                   (query)      :TRIGger:LOGPat? unit$
                   (response)   unit$,"a$"
                                 unit$=UNIT1 to UNIT8
                                  a$=XXXXXXXXXXXXXXXXX
                                  trigger pattern(X,0,1)
     Explanation   Sets the trigger pattern for the logic trigger
                   designated by unit$.
                   Returns the current setting for the trigger pattern for
                   the logic trigger designated by unit$ as that specified by the given
                   character data.
     Example       :TRIGger:LOGPat UNIT1,"011X1100XX110101"
                   Sets the trigger pattern for the logic trigger of unit 1 011X1100XX110101
     Note          This command is effective only when 8996 Digital/Pulse Unit. 

(17) Sets and queries the external trigger.  
     Syntax        (command)    :TRIGger:EXTErnal A$
                   (query)      :TRIGger:EXTErnal?
                   (response)   A$
                                 A$=OFF,ON
     Explanation   Enables and disables external trigger.
                   Returns the current external trigger enablement state
                   as character data.
     Example       :TRIGger:EXTErnal OFF
                    Sets the external trigger to OFF.
     Note          Please set up :TRIGger:SET ON command, in the case that you use trigger.

(18) Sets and queries the timer trigger.  
     Syntax        (command)    :TRIGger:TIMEr A$
                   (query)      :TRIGger:TIMEr?
                   (response)   A$
                                 A$=OFF,ON
     Explanation   Sets the timer trigger.
                   Returns the current timer trigger setting as character data.
     Example       :TRIGger:TIMEr ON
                   Sets the timer trigger.
     Note          Please set up :TRIGger:SET ON command, in the case that you use trigger.

(19) Sets and queries the start instant for the timer trigger.  
     Syntax        (command)    :TRIGger:TMSTArt A,B,C,D,E,F
                   (query)      :TRIGger:TMSTArt?
                   (response)   A,B,C,D,E,F
                                 A=year:0 to 99(year)
                                 B=month:1 to 12(month)
                                 C=day :1 to 31(day)
                                 D=hour :0 to 23(hour)
                                 E=min :0 to 59(min)
                                 F=sec :0 to 59(sec)
                                 year,month,day,hour,min,sec<NR1>
     Explanation    Sets the start instant for the timer trigger.
                   Returns the current setting for the timer trigger start
                   instant as NR1 numerical values.
     Example       :TRIGger:TMSTArt 6,7,22,11,22 ,00
                   Sets the start instant for the timer trigger to 11:22:00
                   on July 22nd 2006.

(20) Sets and queries the stop instant for the timer trigger.  
     Syntax        (command)    :TRIGger:TMSTOp A,B,C,D,E,F
                   (query)      :TRIGger:TMSTOp?
                   (response)   A,B,C,D,E,F
                                 A=year:0 to 99(year)
                                 B=month:1 to 12(month)
                                 C=day :1 to 31(day)
                                 D=hour :0 to 23(hour)
                                 E=min :0 to 59(min)
                                 F=sec :0 to 59(sec)
                                 year,month,day,hour,min,sec<NR1>
     Explanation   Sets the stop instant for the timer trigger.
                   Returns the current setting for the timer trigger stop
                   instant as NR1 numerical values.
     Example       :TRIGger:TMSTOp 6,7,22,11,45 00
                   Sets the stop instant for the timer trigger to 11:45:00
                   on July 22nd 2006.

(21) Sets and queries the time interval for the timer trigger.  
     Syntax        (command)    :TRIGger:TMINTvl A,B,C,D
                   (query)      :TRIGger:TMINTvl?
                   (response)   A,B,C,D
                                 A=day :0 to 99(day)
                                 B=hour:0 to 23(hour)
                                 C=min :0 to 59(min)
                                 D=sec :0 to 59(sec)
                                day,hour,min,sec<NR1>
     Explanation   Sets the time interval for the timer trigger.
                   Returns the current setting for the timer trigger time
                   interval as NR1 numerical values.
     Example       :TRIGger:TMINTvl 1,20,30
                   Sets the time interval for the timer trigger to one hour,
                   twenty minutes, and thirty seconds.

(22) Sets and queries the time point for trigger detection.  
     Syntax        (command)    :TRIGger:DETECTTime A,B,C
                   (query)      :TRIGger:DETECTTime?
                   (response)   A,B,C
                                 A=hour:0 to 23(hour)
                                 B=min :0 to 59(min)
                                 C=sec :0 to 59(sec)
                                 hour,min,sec<NR1>
     Explanation   Sets the time point for trigger detection.
                   Returns the setting for the time point for trigger
                   detection as a numerical value in NR1 format.
     Example       :TRIGger:DETECTTime?
                   The currently set time point for trigger detection is
                   queried.

(23) Sets and queries the date for trigger detection.  
     Syntax        (command)    :TRIGger:DETECTDate A,B,C
                   (query)      :TRIGger:DETECTDate?
                   (response)   A,B,C
                                 A=year :0 to 99(year)
                                 B=month:1 to 12(month)
                                 C=day :1 to 31(day)
                                 year,month,day<NR1>
     Explanation   Sets the date for trigger detection.
                   Returns the setting for the date for trigger detection
                   as a numerical value in NR1 format.
     Example       :TRIGger:DETECTDate?
                    The currently set date for trigger detection is queried.

(24) Sets and queries the trigger logical operator (AND/OR) at stop.  
     Syntax        (command)    :TRIGger:SSOURce A$
                   (query)      :TRIGger:SSOURce?
                   (response)   A$
                                 A$=OR,AND
     Explanation   Sets the logical operator determining whether the analog (at stop),
                   pulse, logic, external and timer triggers are ANDed or ORed.
                   Returns the current setting of the trigger logical operator
                   (AND/OR) as character data (at stop).
     Example       :TRIGger:SSOURce OR
                   Sets the trigger source to OR (at stop).

(25) Sets and queries the kind of trigger at stop.   
     Syntax        (command)    :TRIGger:SKIND unit$,ch$,A$
                   (query)      :TRIGger:SKIND? unit$,ch$
                   (response)   unit$,ch$,A$
                                 unit$=UNIT1 to UNIT8
                                 ch$=CH1 to CH15
                                 A$=OFF
                                    LEVEl :level trigger
                                    WINDow :window trigger
     Explanation   Sets the type of trigger for the channel designated by unit$,ch$ (at stop).
                   Returns as character data the type of the current trigger
                   for the channel designated by unit$,ch$ (at stop).
     Example       :TRIGger:SKIND UNIT1,CH1,LEVEl
                   Sets unt 1,channel 1 to level trigger (at stop).
     Note          This command is effective only when 8949 Universal Unit 
                                                    or 8948 Voltage/Temp Unit 
                                                    or 8996 Digital/Pulse Unit. 
     Note          Please set up :TRIGger:SET ON command, in the case that you use trigger.

(26) Sets and queries the level trigger direction (slope) at stop.  
     Syntax        (command)    :TRIGger:SSLOPe unit$,ch$,A$
                   (query)      :TRIGger:SSLOPe? unit$,ch$
                   (response)   unit$,ch$,A$
                                 unit$=UNIT1 to UNIT8
                                 ch$=CH1 to CH15
                                 A$=UP  :rising
                                    DOWN:falling
     Explanation   Sets the trigger direction of the level trigger of
                   the channel designated by unit$,ch$ (at stop).
                   Returns as a character value the current level trigger 
                   direction of the channel designated by unit$,ch$ (at stop).
     Example       :TRIGger:SSLOPe UNIT1,CH1,UP
                   Sets the level trigger direction of unit 1,channel 1 to rising (at stop).
     Note          This command is effective only when 8949 Universal Unit 
                                                    or 8948 Voltage/Temp Unit 
                                                    or 8996 Digital/Pulse Unit. 

(27) Sets and queries trigger level of the level trigger at stop.   
     Syntax        (command)    :TRIGger:SLEVEl unit$,ch$,A
                   (query)      :TRIGger:SLEVEl? unit$,ch$
                   (response)   unit$,ch$,A
                                 unit$=UNIT1 to UNIT8
                                 ch$=CH1 to CH15
                                 A=volt(V),tc,rtd(C),humid(%)
                   (The setting level is 1.50 times of a range.  
                   100mV range at the time of,-150mV to 150mV )
     Explanation   Sets the trigger level of the level trigger of the channel
                   designated by unit$,ch$ (at stop).
                   Returns as an NR3 numerical value the current trigger level
                   of the channel designated by unit$,ch$ (at stop).
     Example       :TRIGger:SLEVEl UNIT1,CH1,50E-3
                   Sets the trigger level of unit 1,channel 1 to 50 mV (at stop).
     Note          This command is effective only when 8949 Universal Unit 
                                                    or 8948 Voltage/Temp Unit 

(28) Sets and queries the trigger level of the pulse level trigger at stop.   
     Syntax        (command)    :TRIGger:SPLEVEl unit$,ch$,A
                   (query)      :TRIGger:SPLEVEl? unit$,ch$
                   (response)   unit$,ch$,A
                                 unit$=UNIT1 to UNIT8
                                 ch$=CH1 to CH15
                                 A=count(c),revolve(r/s)
                   (The setting level is 0c to 1000000000c)
     Explanation   Sets the trigger level of the pulse level trigger of the channel
                   designated by unit$,ch$ (at stop).
                   Returns as an NR3 numerical value the current pulse trigger level
                   of the channel designated by unit$,ch$ (at stop).
     Example       :TRIGger:SPLEVEl UNIT1,CH1,50E+0
                   Sets the trigger level of unit 1,channel 1 to 50counts (at stop).
     Note          This command is effective only when 8996 Digital/Pulse Unit. 

(29) Sets and queries the window trigger direction (side) at stop.  
     Syntax        (command)    :TRIGger:SSIDE unit$,ch$,A$
                   (query)      :TRIGger:SSIDE? unit$,ch$
                   (response)   unit$,ch$,A$
                                 unit$=UNIT1 to UNIT8
                                 ch$=CH1 to CH15
                                 A$=IN  :window in
                                    OUT :window out
     Explanation   Sets the trigger direction of the window trigger of
                   the channel designated by unit$,ch$ (at stop).
                   Returns as a character value the current window trigger 
                   direction of the channel designated by unit$,ch$ (at stop).
     Example       :TRIGger:SSIDE UNIT1,CH1,IN
                   Sets the window trigger direction of unit 1,channel 1 to window in (at stop).
     Note          This command is effective only when 8949 Universal Unit 
                                                    or 8948 Voltage/Temp Unit 
                                                    or 8996 Digital/Pulse Unit. 

(30) Sets and queries the upper limit level for a window-in/-out trigger at stop.  
     Syntax        (command)    :TRIGger:SUPPEr unit$,ch$,A
                   (query)      :TRIGger:SUPPEr? unit$,ch$
                   (response)   unit$,ch$,A
                                 unit$=UNIT1 to UNIT8
                                 ch$=CH1 to CH15
                                 A=volt(V),tc,rtd(C),humid(%)
                   (The setting level is 1.50 times of a range.  
                   100mV range at the time of,-150mV to 150mV )
     Explanation   Sets the upper limit level of the window trigger of the
                   channel designated by unit$,ch$ as a voltage value (at stop).
                   Returns the current upper limit level of the window
                   trigger as an NR3 numerical value (at stop).
     Example       :TRIGger:SUPPEr UNIT1,CH1,+1.0E-3
                   Sets the upper limit level of the window trigger of
                   unit 1,channel 1 to +1.0 mV (at stop).
     Note          This command is effective only when 8949 Universal Unit 
                                                    or 8948 Voltage/Temp Unit 

(31) Sets and queries the lower limit level for a window-in/-out trigger at stop.  
     Syntax        (command)    :TRIGger:SLOWEr unit$,ch$,A
                   (query)      :TRIGger:SLOWEr? unit$,ch$
                   (response)   unit$,ch$,A
                                 unit$=UNIT1 to UNIT8
                                 ch$=CH1 to CH15
                                 A=volt(V),tc,rtd(C),humid(%)
                   (The setting level is 1.50 times of a range.  
                   100mV range at the time of,-150mV to 150mV )
     Explanation   Sets the lower limit level of the window trigger of the
                   channel designated by unit$,ch$ as a voltage value (at stop).
                   Returns the current lower limit level of the window trigger
                   as an NR3 numerical value (at stop).
     Example       :TRIGger:SLOWEr UNIT1,CH1,-1.0E-3
                   Sets the lower limit level of the window trigger of
                   unit 1,channel 1 to -1.0 mV (at stop).
     Note          This command is effective only when 8949 Universal Unit 
                                                    or 8948 Voltage/Temp Unit 

(32) Sets and queries the upper limit level for a pulse window-in/-out trigger at stop.  
     Syntax        (command)    :TRIGger:SPUPPEr unit$,ch$,A
                   (query)      :TRIGger:SPUPPEr? unit$,ch$
                   (response)   unit$,ch$,A
                                 unit$=UNIT1 to UNIT8
                                 ch$=CH1 to CH15
                                 A=count(c),revolve(r/s)
                   (The setting level is 0c to 1000000000c)
     Explanation   Sets the upper limit level of the pulse window trigger of the
                   channel designated by unit$,ch$ as a voltage value (at stop).
                   Returns the current upper limit level of the pulse window
                   trigger as an NR3 numerical value (at stop).
     Example       :TRIGger:SPUPPEr UNIT1,CH1,2.0E+3
                   Sets the pulse upper limit trigger level of unit 1,channel 1 to 2000counts (at stop).
     Note          This command is effective only when 8996 Digital/Pulse Unit. 

(33) Sets and queries the lower limit level for a pulse window-in/-out trigger at stop. 
     Syntax        (command)    :TRIGger:SPLOWEr unit$,ch$,A
                   (query)      :TRIGger:SPLOWEr? unit$,ch$
                   (response)   unit$,ch$,A
                                 unit$=UNIT1 to UNIT8
                                 ch$=CH1 to CH15
                                 A=count(c),revolve(r/s)
                   (The setting level is 0c to 1000000000c)
     Explanation   Sets the lower limit level of the pulse window trigger of the
                   channel designated by unit$,ch$ as a voltage value (at stop).
                   Returns the current lower limit level of the pulse window
                   trigger as an NR3 numerical value (at stop).
     Example       :TRIGger:SPLOWEr UNIT1,CH1,1.0E+3
                   Sets the pulse upper limit trigger level of unit 1,channel 1 to 1000counts (at stop).
     Note          This command is effective only when 8996 Digital/Pulse Unit. 

(34) Sets and queries the logical operator (AND/OR) for the trigger pattern 
     of a logic trigger at stop.
     Syntax        (command)    :TRIGger:SLOGAnd unit$,A$
                   (query)      :TRIGger:SLOGAnd? unit$
                   (response)   unit$,A$
                                 A$=OFF,OR,AND
     Explanation   Sets the AND/OR logical operator for the trigger pattern
                   of a logic trigger designated by unit$ (at stop).
                   Returns the present AND/OR setting for the trigger pattern
                   of a logic trigger designated by unit$ as a character string (at stop).
     Example       :TRIGger:SLOGAnd UNIT1,OR
                   Sets the AND/OR logical operator for the trigger pattern
                   of unit 1 to OR (at stop).
     Note          This command is effective only when 8996 Digital/Pulse Unit. 
     Note          Please set up :TRIGger:SET ON command, in the case that you use trigger.

(35) Sets and queries the trigger pattern for a logic trigger at stop.  
     Syntax        (command)    :TRIGger:SLOGPat unit$,"a$" 
                   (query)      :TRIGger:SLOGPat? unit$
                   (response)   unit$,"a$"
                                  a$=XXXXXXXXXXXXXXXX
                                  trigger pattern(X,0,1)
     Explanation   Sets the trigger pattern for the logic trigger
                   designated by unit$. (at stop)
                   Returns the current setting for the trigger pattern for
                   the logic trigger designated by unit$i as that specified by the given
                   character data (at stop).
     Example       :TRIGger:SLOGPat UNIT1,"011X1100XX11010"
                   Sets the trigger pattern for the logic trigger of unit 1 011X1100XX11010 (at stop)
     Note          This command is effective only when 8996 Digital/Pulse Unit. 

(36) Sets and queries the external trigger at stop.  
     Syntax        (command)    :TRIGger:SEXTErnal A$
                   (query)      :TRIGger:SEXTErnal?
                   (response)   A$
                                 A$=OFF,ON
     Explanation   Enables and disables external trigger (at stop).
                   Returns the current external trigger enablement state
                   as character data (at stop).
     Example       :TRIGger:SEXTErnal OFF
                    Sets the external trigger to OFF (at stop).
     Note          Please set up :TRIGger:SET ON command, in the case that you use trigger.


-7.ALARm command (Sets and queries alarm.)

:ALARm

(1) Sets and queries the alarm hold.
     Syntax        (command)    :ALARm:HOLD A$
                   (query)      :ALARm:HOLD?
                   (response)   A$
                                 A$=OFF,ON
     Explanation   Sets the alarm hold.
                   Returns the current alarm hold as character data.
     Example       :ALARm:HOLD ON
                   Sets the alarm hold to on.

(2) Sets and queries the alarm  out channel.
     Syntax        (command)    :ALARm:OUTCh alm_unit$,alm_ch$,src_unit$,src_ch$
                   (query)      :ALARm:OUTCh? alm_unit$,alm_ch$
                   (response)   alm_unit$,alm_ch$,src_unit$,src_ch$
                                 alm_unit$UNIT1 to UNIT8
                                 alm_ch$CH1 to CH15
                                 src_unit$UNIT1 to UNIT8
                                 src_ch$CH1 to CH15
     Explanation   Sets the out unit and channel of alarm for the channel designated by alm_unit$,alm_ch$.
                   Returns as character data the out unit and channel of the current alarm
                   for the channel designated by alm_unit$,alm_ch$.
     Example       :ALARm:OUTCh UNIT2,CH1,UNIT1,CH1
                   Sets alarm unit 2,channl 1 out channel to unit 1,channel 1.
     Note          8997 Alarm Unit is able to be set up as alm_unit$   
                   8949 Universal Unit or 8948 Voltage/Temp Unit or 8996 Digital/Pulse Unit is able to be set up as src_unit$. 
     Note          Please turn on the alarm channel with :UNIT:STORe command, in the case that you use the alarm.  

(3) Sets and queries the kind of alarm
     Syntax        (command)    :ALARm:KIND alm_unit$,alm_ch$,A$
                   (query)      :ALARm:KIND? alm_unit$,alm_ch$
                   (response)   alm_unit$,alm_ch$,A$
                                 alm_unit$UNIT1 to UNIT8
                                 alm_ch$CH1 to CH15
                                 A$=OFF
                                    LEVEl :level alarm
                                    WINDow :window alarm
     Explanation   Sets the type of alarm for the channel designated by alm_unit$,alm_ch$.
                   Returns as character data the type of the current alarm
                   for the channel designated by alm_unit$,alm_ch$.
     Example       :ALARm:KIND UNIT2,CH1,LEVEl
                   Sets alarm unit 2,channel 1 to level alarm.
     Note          8997 Alarm Unit is able to be set up as alm_unit$   
     Note          Please turn on the alarm channel with :UNIT:STORe command, in the case that you use the alarm.  

(4) Sets and queries the level of the level alarm.  
     Syntax        (command)    :ALARm:LEVEl alm_unit$,alm_ch$,A
                   (query)      :ALARm:LEVEl? alm_unit$,alm_ch$
                   (response)   alm_unit$,alm_ch$,A<NR3>
                                 alm_unit$UNIT1 to UNIT8
                                 alm_ch$CH1 to CH15
                                 A=volt(V),tc,rtd(C),humid(%)
                   (The setting level is 1.50 times of a range.  
                   100mV range at the time of,-150mV to 150mV )
     Explanation   Sets the alarm level of the level alarm of the channel
                   designated by alm_unit$,alm_ch$.
                   Returns as an NR3 numerical value the current alarm level
                   of the channel designated by alm_unit$,alm_ch$.
     Example       :ALARm:LEVEl UNIT2,CH1,50E-3
                   Sets the alarm level of alarm unit 2,channel 1 to 50 mV.
     Note          8997 Alarm Unit is able to be set up as alm_unit$   

(5) Sets and queries the level alarm direction (slope).  
     Syntax        (command)    :ALARm:SLOPe alm_unit$,alm_ch$,A$
                   (query)      :ALARm:SLOPe? alm_unit$,alm_ch$
                   (response)   alm_unit$,alm_ch$,A$
                                 alm_unit$UNIT1 to UNIT8
                                 alm_ch$CH1 to CH15
                                 A$=HIGH  :high
                                    LOW   :low
     Explanation   Sets the alarm direction of the level alarm of
                   the channel designated by alm_unit$,alm_ch$.
                   Returns as a character value the current level alarm 
                   direction of the channel designated by alm_unit$,alm_ch$.
     Example       :ALARm:SLOPe UNIT2,CH1,HIGH
                   Sets the level alarm direction of alarm unit 2,channel 1 to high.
     Note          8997 Alarm Unit is able to be set up as alm_unit$   

(6) Sets and queries the window alarm direction (side).   
     Syntax        (command)    :ALARm:SIDE alm_unit$,alm_ch$,A$
                   (query)      :ALARm:SIDE? alm_unit$,alm_ch$
                   (response)   alm_unit$,alm_ch$,A$
                                 alm_unit$UNIT1 to UNIT8
                                 alm_ch$CH1 to CH15
                                 A$=IN  :window in
                                    OUT :window out
     Explanation   Sets the alarm direction of the window alarm of
                   the channel designated by alm_unit$,alm_ch$.
                   Returns as a character value the current window alarm 
                   direction of the channel designated by alm_unit$,alm_ch$.
     Example       :ALARm:SIDE UNIT2,CH1,IN
                   Sets the window alarm direction of alarm unit 2,channel 1 to window in.
     Note          8997 Alarm Unit is able to be set up as alm_unit$   

(7) Sets and queries the upper limit level for a window-in/-out alarm.     
     Syntax        (command)    :ALARm:UPPEr alm_unit$,alm_ch$,A
                   (query)      :ALARm:UPPEr? alm_unit$,alm_ch$
                   (response)   alm_unit$,alm_ch$,A<NR3>
                                 alm_unit$UNIT1 to UNIT8
                                 alm_ch$CH1 to CH15
                                 A=volt(V),tc,rtd(C),humid(%)
                   (The setting level is 1.50 times of a range.  
                   100mV range at the time of,-150mV to 150mV )
     Explanation   Sets the upper limit level of the window alarm of the
                   channel designated by alm_unit$,alm_ch$ as a voltage value.
                   Returns the current upper limit level of the window
                   alarm as an NR3 numerical value.
     Example       :ALARm:UPPEr UNIT2,CH1,+1.0E-3
                   Sets the upper limit level of the window alarm of
                   alarm unit 2,channel 1 to +1.0 mV.
     Note          8997 Alarm Unit is able to be set up as alm_unit$   

(8) Sets and queries the lower limit level for a window-in/-out alarm.    
     Syntax        (command)    :ALARm:LOWEr alm_unit$,alm_ch$,A
                   (query)      :ALARm:LOWEr? alm_unit$,alm_ch$
                   (response)   alm_unit$,alm_ch$,A<NR3>
                                 alm_unit$UNIT1 to UNIT8
                                 alm_ch$CH1 to CH15
                                 A=volt(V),tc,rtd(C),humid(%)
                   (The setting level is 1.50 times of a range.  
                   100mV range at the time of,-150mV to 150mV )
     Explanation   Sets the lower limit level of the window alarm of the
                   channel designated by alm_unit$,alm_ch$ as a voltage value.
                   Returns the current lower limit level of the window alarm
                   as an NR3 numerical value.
     Example       :ALARm:LOWEr UNIT2,CH1,-1.0E-3
                   Sets the lower limit level of the window alarm of
                   alarm unit 2,channel 1 to -1.0 mV.
     Note          8997 Alarm Unit is able to be set up as alm_unit$   

(9) Sets and queries the alarm level of the pulse level alarm.    
     Syntax        (command)    :ALARm:PLEVEl alm_unit$,alm_ch$,A
                   (query)      :ALARm:PLEVEl? alm_unit$,alm_ch$
                   (response)   alm_unit$,alm_ch$,A<NR3>
                                 alm_unit$UNIT1 to UNIT8
                                 alm_ch$CH1 to CH15
                                 A=count(c),revolve(r/s)
                   (The setting level is 0c to 1000000000c)
     Explanation   Sets the alarm level of the pulse level alarm of the channel
                   designated by alm_unit$,alm_ch$.
                   Returns as an NR3 numerical value the current pulse alarm level
                   of the channel designated by alm_unit$,alm_ch$.
     Example       :ALARm:PLEVEl UNIT2,CH1,50E+0
                   Sets the alarm level of alarm unit 2,channel 1 to 50counts.
     Note          8997 Alarm Unit is able to be set up as alm_unit$   

(10) Sets and queries the upper limit level for a pulse window-in/-out alarm.    
     Syntax        (command)    :ALARm:PUPPEr alm_unit$,alm_ch$,A
                   (query)      :ALARm:PUPPEr? alm_unit$,alm_ch$
                   (response)   alm_unit$,alm_ch$,A<NR3>
                                 alm_unit$UNIT1 to UNIT8
                                 alm_ch$CH1 to CH15
                                 A=count(c),revolve(r/s)
                   (The setting level is 0c to 1000000000c)
     Explanation   Sets the upper limit level of the pulse window alarm of the
                   channel designated by alm_unit$,alm_ch$ as a voltage value.
                   Returns the current upper limit level of the pulse window
                   alarm as an NR3 numerical value.
     Example       :ALARm:PUPPEr UNIT2,CH1,2.0E+3
                   Sets the pulse upper limit alarm level of unit 2,channel 1 to 2000counts.
     Note          8997 Alarm Unit is able to be set up as alm_unit$   

(11) Sets and queries the lower limit level for a pulse window-in/-out alarm.   
     Syntax        (command)    :ALARm:PLOWEr alm_unit$,alm_ch$,A
                   (query)      :ALARm:PLOWEr? alm_unit$,alm_ch$
                   (response)   alm_unit$,alm_ch$,A<NR3>
                                 alm_unit$UNIT1 to UNIT8
                                 alm_ch$CH1 to CH15
                                 A=count(c),revolve(r/s)
                   (The setting level is 0c to 1000000000c)
     Explanation   Sets the lower limit level of the pulse window alarm of the
                   channel designated by alm_unit$,alm_ch$ as a voltage value.
                   Returns the current lower limit level of the pulse window
                   alarm as an NR3 numerical value.
     Example       :ALARm:PLOWEr UNIT2,CH1,1.0E+3
                   Sets the pulse upper limit alarm level of unit 2,channel 1 to 1000counts.
     Note          8997 Alarm Unit is able to be set up as alm_unit$   

(12) Sets and queries the logical operator (AND/OR) for the alarm pattern 
     of a logic alarm.  
     Syntax        (command)    :ALARm:LOGAnd alm_unit$,alm_ch$,A$
                   (query)      :ALARm:LOGAnd? alm_unit$,alm_ch$
                   (response)   alm_unit$,alm_ch$,A$
                                 alm_unit$UNIT1 to UNIT8
                                 alm_ch$CH1 to CH15
                                 A$=OFF,OR,AND
     Explanation   Sets the AND/OR logical operator for the alarm pattern
                   of a logic alarm of the channel designated by alm_unit$,alm_ch$.
                   Returns the present AND/OR setting for the alarm pattern
                   of a logic alarm as a character string.
     Example       :ALARm:LOGAnd UNIT2,CH1,OR
                   Sets the AND/OR logical operator for the alarm pattern
                   of a logic alarm of alarm unit 2,channel 1 to OR.
     Note          8997 Alarm Unit is able to be set up as alm_unit$   

(13) Sets and queries the alarm pattern for a logic alarm.   
     Syntax        (command)    :ALARm:LOGPat alm_unit$,alm_ch$,"a$"
                   (query)      :ALARm:LOGPat? alm_unit$,alm_ch$
                   (response)   alm_unit$,alm_ch$,"a$"
                                 alm_unit$UNIT1 to UNIT8
                                 alm_ch$CH1 to CH15
                                 a$=XXXXXXXXXXXXXXXX
                                  alarm pattern(X,0,1)
     Explanation   Sets the alarm pattern for the logic alarm of the
                   channel designated by alm_unit$,alm_ch$.
                   Returns the current setting for the alarm pattern for
                   the logic alarm as that specified by the given
                   character data.
     Example       :ALARm:LOGPat UNIT2,CH1,"011X1100XX11010"
                   Sets the alarm pattern for the logic alarm of alarm unit 2,channel 1 
                   to 011X1100XX11010


-8.SYSTem command (Sets and queries the system.)

:SYSTem

(1) Sets and queries the start backup function.  
     Syntax        (command)    :SYSTem:STARt A$
                   (query)      :SYSTem:STARt?
                   (response)   A$
                                 A$=OFF,ON
     Explanation   Enables and disables the start backup function.
                   Returns the current enablement state of the start backup
                   function as character data.
     Example       :SYSTem:STARt ON
                   Sets the start backup function to ON.

(2) Sets and queries the time axis display.  
     Syntax        (command)    :SYSTem:TMAXis A$
                   (query)      :SYSTem:TMAXis?
                   (response)   A$
                                 A$=TIME,DATE,SCALe
     Explanation   Sets the time axis display as character data.
                   Returns the current time axis display setting as
                   character data.
     Example       :SYSTem:TMAXis TIME
                   Sets the time axis display to TIME.

(3) Sets external sampling/external trigger slope.  
     Syntax        (command)    :SYSTem:EXTSLOPe A$
                   (query)      :SYSTem:EXTSLOPe?
                   (response)   A$
                                 A$=UP,DOWN
     Explanation   Sets the external sampling/external trigger slope.
                   Returns the external sampling/external trigger slope as character data.
     Example       :SYSTem:EXTSLOPe UP
                   Sets external sampling/external trigger slope to UP.

(4) Sets external sampling/external trigger filter.  
     Syntax        (command)    :SYSTem:EXTFILTer A$
                   (query)      :SYSTem:EXTFILTer?
                   (response)   A$
                                 A$=OFF,ON
     Explanation   Sets the external sampling/external trigger filter.
                   Returns the external sampling/external trigger filter as character data.
     Example       :SYSTem:EXTFILTer ON
                   Sets the filter of external in port to ON.

(5) Sets and queries the language.  
     Syntax        (command)    :SYSTem:LANGuage A$
                   (query)      :SYSTem:LANGuage?
                   (response)   A$
                                 A$=JAPAnese,ENGLish
     Explanation   Sets the language.
                   Returns the current language setting as character data.
     Example       :SYSTem:LANGuage JAPAnese
                   Sets the language to Japanese.

(6) Sets the calendar date, and queries the current calendar date.
     Syntax        (command)    :SYSTem:DATE A,B,C
                   (query)      :SYSTem:DATE?
                   (response)   A,B,C<NR1>
                                  A = 0 to 99 (year)
                                  B = 1 to 12 (month)
                                  C = 1 to 31 (day)
     Explanation   Sets the date on the internal calendar.
                   Returns the current date.
     Example       :SYSTem:DATE 00,10,16
                   Sets the internal calendar to Oct 16nd, 2000.

(7) Sets the time, and queries the current time.
     Syntax        (command)    :SYSTem:TIME A, B, C
                   (query)      :SYSTem:TIME?
                   (response)    A, B, C <NR1>
                                  A = 0 to 23 (hour)
                                  B = 0 to 59 (min)
                                  C = 0 to 59 (sec)
     Explanation   Sets the time.
                   Returns the current time.
     Example       :SYSTem:TIME 10, 0, 0
                   Sets the internal clock to 10:00:00.

(8) Clearing waveform data.
     Syntax        (command)    :SYSTem:DATAClear
     Explanation   Clear the waveform data.


-9.MEMory command (Sets and queries input and output, etc., form the memory.)

:MEMory

(1) Sets and queries the point in memory for input/output. 
     Syntax        (command)    :MEMory:POINt unit$,ch$,A
                   (query)      :MEMory:POINt?
                   (response)   unit$,ch$,A<NR1>
                                 unit$UNIT1 to UNIT8
                                 ch$CH1 to CH15
                                 A=0 to 16777215(maximum at only 1 channel)
     Explanation   Sets the input/output point in memory.
                   Returns the current input/output point in memory as an NR1
                   numerical value.
     Example       :MEMory:POINt UNIT1,CH1,100
                   Sets the input/output point for unit1,channel 1 to the 100th
                   location from the start of memory.
     Note          It becomes an execution error, when the channel is not data stored.

(2) Queries the number of data samples stored.
     Syntax        (query)      :MEMory:MAXPoint?
                   (response)   A <NR1>
                                 A = 0 : no data stored
                                 1 to 16777215
     Explanation   Returns the number of data samples stored in the memory as
                   a numerical value in NR1 format.
     Example       (query)      :MEMory:MAXPoint?
                   (response)   :MEMory:MAXPoint 800 (when headers are on)
                   The number of data samples stored in the memory is 800.

(3) Queries stored record data for each channel. 
     Syntax        (query)      :MEMory:CHSTore? unit$,ch$
                   (response)   unit$,ch$,A$
                                 unit$UNIT1 to UNIT8
                                 ch$CH1 to CH15
                                 A$=OFF(not stored),ON(stored)
     Explanation   Returns stored record data for each channel as character data.
     Example       (query) :MEMory:CHSTore? UNIT1,CH1
                   (response) :MEMory:CHSTore UNIT1,CH1,ON(HEADER ON)
                   The data of UNIT1,CH1 is stored in storage memory.

(4) Prepares the memory.
     Syntax        (command)    :MEMory:PREPare
     Explanation   If there is no waveform data in the unit, ensures that
                   the memory is in a state ready and able to receive
                   transmitted data.
     Example       (command)    :MEMory:PREPare
                   Prepares the memory for receipt of waveform data.
     Note          If data is currently stored in memory, a waveform is erased.
                   Please execute this command after you turn on stored record 
                   data for each channel that inputs data with :UNIT:STORe 
                   command inputs data.  

(5) Inputs data to memory, and outputs stored data.(ASCII)  
     Syntax        (command)    :MEMory:ADATa B,C,...
                   (query)      :MEMory:ADATa? A
                   (response)   B,C,... <NR1>
                                 B,C,... =-32768 to 32767(8949,8948 unit data)
                                 0 to 1000000000(8996 unit pulse data)
                                 0,1(8996 unit digital in data)
                                 0,1(8997 unit alarm out data)
                                 A=1 to 80(number of data values to be output)
     Explanation   Puts the data of the data portion into the memory at the
                   channel and point set by the :MEMory:POINt command. 
                   If there are several data values, they are input in order
                   from the point set by the :MEMory:POINt command.
                   The input/output point is incremented by the number of
                   data values.
                   The number of data values specified by A are output from
                   the memory channel and point set by the :MEMory:POINt
                   command. The input/output point is incremented by the
                   number of data values.


     * Relationship between data values in memory and measured when volt,tc,rtd,humid.

                   The relationship between the data values(-32768 to 32767)
                   input and output using the :MEMory:ADATa command and
                   the measured voltage values is described below.


                   measurement value = (data) x (voltage range) / (data num at 10 DIV)
     Example
                   data = 9600, voltage range = 1(V/10DIV)
                   data num at 10 DIV = 20000
                   measurement value =9600x1/20000=0.480(V)

                   voltage mode (data num at 10 DIV) = 20000
                   tc 100 C mode (data num at 10 DIV) = 10000
                   tc 500 C mode (data num at 10 DIV) = 10000
                   tc 2000 C mode (data num at 10 DIV) = 20000
                   rtd 100 C mode (data num at 10 DIV) = 10000
                   rtd 500 C mode (data num at 10 DIV) = 10000
                   rtd 2000 C mode (data num at 10 DIV) = 20000
                   humid mode (data num at 10 DIV) = 1000
                
     * Relationship between data values in memory and measured when count,revolve.

                   The relationship between the data values(0 to 1000000000)
                   input and output using the :MEMory:ADATa command and
                   the measured count values is described below.

                   measurement value = (data) x (count range)

     * Relationship between data values in memory and measured when digital in and alarm out.
                   LOW  : 0
                   HIGH : 1

     Example       :MEMory:POINt UNIT1,CH1,0
                   :MEMory:ADATa? 10
                   Sets the input/output point to unit 1,channel 1 and data value
                   zero in memory, then outputs 10 stored data values.
     When allowed  provided that stored data is present, and provided that the 
                   input/output point is lower than the amount of data stored.

(6) Input voltage data to memory, and output voltage data from memory.
    (volt,tc,rtd,humid,count,revolve)
     Syntax        (command)    :MEMory:VDATa B,C,...
                   (query)      :MEMory:VDATa? A
                   (response)   B,C,... <NR3>
                                 B,C,... =volt,tc,rtd,humid(8949,8948 unit data)
                                         count,revolve(8996 unit pulse data)
                                         0,1(8996 unit digital in data)
                                         0,1(8997 unit alarm out data)
                                 A=1 to 40(data num)
     Explanation   Puts the data values (volt,tc,rtd,humid,count,revolve values) 
                   in the data portion into the memory at the channel and point 
                   set by the :MEMory:POINt command. 
                   If there are several data values, they are input in order
                   from the point set by the :MEMory:POINt command.
                   The input/output point is incremented by the number of data
                   values.
                   The number of stored data values specified by A are output
                   as voltage values from the memory channel and point set
                   by the :MEMory:POINt command. 
                   The input/output point is incremented by the number of data
                   values.

                   When scaling, the scaled values are input and output.
                   When calculating the waveform, calculated results are input
                   and output.

     Example       :MEMory:POINt UNIT1,CH1,0
                   :MEMory:VDATa? 10
                   Sets the input/output point to channel 1 and data value
                   zero in memory, then outputs 10 stored data values 
                   as voltage values.
     When allowed  provided that stored data is present, and provided
                   that the input/output point is lower than the amount of
                   data stored.

(7) Captures real time data.
     Syntax        (command)    :MEMory:GETReal
     Explanation   Captures the values which are currently input on the
                   channel for all the channel.

(8) Outputs real time data(ASCII)
     Syntax        (command)    :MEMory:AREAl? unit$,ch$
                   (response)   A<NR1>
                                 unit$UNIT1 to UNIT8
                                 ch$CH1 to CH15
                                  A=-32768 to 32767(8949,8948 unit data)
                                     0 to 1000000000(8996 unit pulse data)
                                     0,1(8996 unit digital in data)
                                     0,1(8997 unit alarm out data)
     Explanation   Returns the value input on the channel designated by ch$.
     Example       :MEMory:AREAl? UNIT1,CH1
                   :MEMory:AREAl 2000(HEADER ON)
     Note          When the :MEMory:GETReal command is not executed before
                   this command, the returned value is not fixed.

(9) Outputs real time data. (volt,tc,rtd,humid,count,revolve)
     Syntax        (command)    :MEMory:VREAl? unit$,ch$
                   (response)   A<NR3>
                                 unit$UNIT1 to UNIT8
                                 ch$CH1 to CH15
                                 A=volt,tc,rtd,humid(8949,8948 unit data)
                                   count,revolve(8996 unit pulse data)
                                   0,1(8996 unit digital in data)
                                   0,1(8997 unit alarm out data)
     Explanation   Returns as a voltage value the value input on the channel
                   designated by ch$.
     Example       :MEMory:VREAl? UNIT1,CH1
                   :MEMory:VREAl 4.7E-2(HEADER ON)
     Note          When the :MEMory:GETReal command is not executed before
                   this command, the returned value is not fixed.

(10)Binary transfer of stored data.
     Syntax        (query)      :MEMory:BDATa? A
                   (response)   #0.........
                                  A = 1 to 200
                                       (number of data values to be output)
     Explanation   Explanation   Outputs the data stored by a :MEMory:POINt specification
                   in binary format.
                   The input/output point is incremented by the number of
                   data values. 
                   The format of the output data is as follows:
                     Initially: "#0" (Indicates binary format.)
                     After the "#0", the number of data values specified by A
                     (each value is two bytes when 8949 Universal Unit or 8948 Voltage/Temp Unit),is transmitted.
                     After the "#0", the number of data values specified by A
                     (each value is four bytes when 8996 Digital/Pulse Unit pulse data),is transmitted.
                     After the "#0", the number of data values specified by A
                     (each value is two bytes when 8996 Digital/Pulse Unit digital data),is transmitted.
                     After the "#0", the number of data values specified by A
                     (each value is two bytes when 8997 Alarm Unit alarm data),is transmitted.
                     The data is followed by LF (0AH) + EOI.



                   The data consists of the unaltered binary codes of the
                   data stored in memory.
                   The bits are transmitted most significant bit first.
     Example


                   The data obtained is the same as that for ADATa?; for details 
                   refer to these commands.
                   It is not possible to input data in binary format.
     Example       :MEMory:POINt UNIT1,CH1,0
                   :MEMory:BDATa? 10
                   This sets the input/output point to channel 1, and stored
                   data value to address 0 in memory, then outputs 10 data
                   values in binary format.
     When allowed  provided that stored data is present, and provided
                   that the input/output point is lower than the amount of
                   data stored.

(11)Outputs real time data (binary).
     Syntax        (query)      :MEMory:BREAl? ch$
                   (response)   Binary data (2 bytes)
     Explanation   See "Binary transfer of stored data."
     Note          When the :MEMory:GETReal command is not executed before
                   this command, the returned value is not fixed.

(12) Sets and queries the point in memory for input/output. 
      (when longer data is storaged than the inside memory) 
     Syntax        (command)    :MEMory:APOINt unit$,ch$,A
                   (query)      :MEMory:APOINt?
                   (response)   unit$,ch$,A
                                 unit$=UNIT1 to UNIT8
                                 ch$=CH1 to CH15
                                 A=0 to
     Explanation   Sets the input/output point in memory.
                   Returns the current input/output point in memory as an NR1
                   numerical value.
     Example       :MEMory:APOINt UNIT1,CH1,100
                   Sets the input/output point for unit1,channel 1 to the 100th
                   location from the start of memory.
     Note          It becomes an execution error, when the channel is not data stored.

(13) Queries the end of data samples stored.
      (when longer data is storaged than the inside memory) 
     Syntax        (query)      :MEMory:AMAXPoint?
                   (response)   A 
                                 A = 0 : no data stored
                                 1 to
     Explanation   Returns the end of data samples stored in the memory as
                   a numerical value in NR1 format.
     Example       (query)      :MEMory:AMAXPoint?
                   (response)   :MEMory:AMAXPoint 800 (when headers are on)
                   The end of data samples stored in the memory is 800.

(14) Queries the top of data samples stored.
      (when longer data is storaged than the inside memory) 
     Syntax        (query)      :MEMory:TOPPoint?
                   (response)   A 
                                 A = 0 : no data stored
                                 1 to
     Explanation   Returns the top of data samples stored in the memory as
                   a numerical value in NR1 format.
     Example       (query)      :MEMory:TOPPoint?
                   (response)   :MEMory:TOPPoint 100 (when headers are on)
                   The top of data samples stored in the memory is 100.

(15) Outputs real time store channel.
      (channel of storage on all)
     Syntax        (command)    :MEMory:TARCH? unit$
                   (response)   ch$
                                 unit$=UNIT1 to UNIT8
                                 ch$=CH1 to CH15
     Explanation   Returns the value input on the channel designated by ch$.
     Example       :MEMory:TARCH? UNIT1
                   :MEMory:TARCH CH1,CH2,CH3,CH4,CH5,CH6,CH7,CH8(HEADER ON)

(16) Outputs real time data(ASCII)
      (channel of storage on all)
     Syntax        (command)    :MEMory:TAREAl? unit$
                   (response)   A
                                 unit$=UNIT1 to UNIT8
                                  A=-32768 to 32767(8949,8948 unit data)
                                     0 to 1000000000(8996 unit pulse data)
                                     0,1(8996 unit digital in data)
                                     0,1(8997 unit alarm out data)
     Explanation   Returns the value input on the channel designated by ch$.
     Example       :MEMory:TAREAl? UNIT1
                   :MEMory:TAREAl 1000,2000,3000,4000,5000,6000,7000,8000(HEADER ON)
     Note          When the :MEMory:GETReal command is not executed before
                   this command, the returned value is not fixed.

(17) Outputs real time store channel.
      (channel of storage on all)
     Syntax        (command)    :MEMory:TVRCH? unit$
                   (response)   ch$
                                 unit$=UNIT1 to UNIT8
     Explanation   Returns the value input on the channel designated by ch$.
     Example       :MEMory:TVRCH? UNIT1
                   :MEMory:TVRCH CH1,CH2,CH3,CH4,CH5,CH6,CH7,CH8(HEADER ON)

(18) Outputs real time data
      (channel of storage on all)
     Syntax        (command)    :MEMory:TVREAl? unit$
                   (response)   A
                                 unit$=UNIT1 to UNIT8
                                 A=volt,tc,rtd,humid(8949,8948 unit data)
                                     count,revolve(8996 unit pulse data)
                                     0,1(8996 unit digital in data)
                                     0,1(8997 unit alarm out data) 
     Explanation   Returns the value input on the channel designated by ch$.
     Example       :MEMory:TVREAl? UNIT1
                   :MEMory:TVREAl 1.0E-2,2.0E-2,3.0E-2,4.0E-2,5.0E-2,6.0E-2,7.0E-2,8.0E-2(HEADER ON)
     Note          When the :MEMory:GETReal command is not executed before
                   this command, the returned value is not fixed.


-10.DISPlay command(Sets and queries changeover of the screen mode.)

:DISPlay


(1) Sets and queries the screen mode.  
     Syntax        (command)    :DISPlay:CHANge A$
                   (query)      :DISPlay:CHANge?
                   (response)   A$
                         A$=NORMal,SET
     Explanation   Changes the screen mode.
                   Returns the current screen mode as character data.
                   Action is the same as the DISP,CHAN,STAT and CARD keys.
     Example       :DISPlay:CHANge NORMal
                   Switches to the normal mode.


(2) Sets and queries the screen mode directly.  
     Syntax        (command)    :DISPlay:DIREct A$
                   (query)      :DISPlay:DIREct?
                   (response)   A$
                                 A$=
                                    (NORMAL mode)
                                    CLOCK,NUM,CF,SN,IP,MAC
                                    (SET mode)
                                    ROM_VER,FPGA_VER,ZERO,SYNC,S_TEST,DATE,TIME,
                                    DHCP,IP_SET,MASK,PORT,GATE,G_ADR,MAC_SET,SN_SET,
                                    ROM,RAM,BUS,KEY,LED,LCD,LOAD,SAVE,V_UP,LANG
     Explanation   Changes the screen mode directly.
                   Returns the current screen mode as character data.
     Example       :DISPlay:DIREct LANG
                    Switches to the LANGUAGE set screen.