Alarm (ALARm)


Sets and queries the alarm output terminal.

Syntax

(Command)

(Query)


:ALARm:ACTive alm$,A$

:ALARm:ACTive? alm$

(Response)

alm$,A$

alm$ =
A$ = LOW, HIGH

LOW Active low
HIGH Active high

Details

Sets the active low/high of the alarm output terminal.
Returns the current active low/high setting of the alarm output terminal as character data.

Example

:ALARm:ACTive ALM1,LOW
:ALARm:ACTive? ALM1
(Response)  :TRIGGER:ACTIVE ALM1,LOW  (when headers are enabled)

Note

-

Usage
Conditions

-




Queries the alarm history details.

Syntax

(Query)


:ALARm:ARCD? NO

(Response)

NO<NR1>,ALM$,CH$,ERR$,STR$,END$

NO = alarm history num (1 to 100)
ALM$ = , -
CH$ = ,
ERR$ = -, BURN_OUT, BATT_LOW, BURN/BATT, DISCONNECT
STR$ = Alarm start time
END$ = Alarm stop time

Details

Returns the alarm history details set by NO.

Example

:ALARm:ARCD? 1
(Response)  :ALARM:ARCD 1,ALM1,CH1_1,-, 20ms, 60ms  (when headers are enabled)

Note

The format of the alarm start/stop time is based on the time axis display setting.
If the alarm is not stopped, the stop time will be "-".

Usage
Conditions

The alarm history num is greater than or equal to 1.




Queries the alarm history num.

Syntax

(Query)


:ALARm:ARCDNum?

(Response)

A<NR1>

A = 0 to 100 (0 = No alarm)

Details

Returns the alarm history num as an NR1 numerical value.

Example

:ALARm:ARCDNum?
(Response)  :ALARM:ARCDNUM 10  (when headers are enabled)

Note

-

Usage
Conditions

-




Sets and queries the alarm at low battery.

Syntax

(Command)

(Query)


:ALARm:BATT alm$,A$

:ALARm:BATT? alm$

(Response)

alm$,A$

alm$ =
A$ = OFF, ON

Details

Sets the alarm at low battery.
Returns the current alarm at low battery as character data.

Example

:ALARm:BATT ALM1,ON
:ALARm:BATT? ALM1
(Response)  :ALARM:BATT ALM1,ON  (when headers are enabled)

Note

-

Usage
Conditions

-




Sets and queries the alarm beep.

Syntax

(Command)

(Query)


:ALARm:BEEP A$

:ALARm:BEEP?

(Response)

A$

A$ = OFF, ON

Details

Sets the alarm beep.
Returns the current alarm beep as character data.

Example

:ALARm:BEEP ON
:ALARm:BEEP?
(Response)  :ALARM:BEEP ON  (when headers are enabled)

Note

-

Usage
Conditions

-




Sets and queries the alarm at burn out.

Syntax

(Command)

(Query)


:ALARm:BURN alm$,A$

:ALARm:BURN? alm$

(Response)

alm$,A$

alm$ =
A$ = OFF, ON

Details

Sets the alarm at burn out.
Returns the current alarm at burn out as character data.

Example

:ALARm:BURN ALM1,ON
:ALARm:BURN? ALM1
(Response)  :ALARM:BURN ALM1,ON  (when headers are enabled)

Note

-

Usage
Conditions

-




Sets and queries the alarm at communication disconnect.

Syntax

(Command)

(Query)


:ALARm:DISCon alm$,A$

:ALARm:DISCon? alm$

(Response)

alm$,A$

alm$ =
A$ = OFF, ON, DELAY

Details

Sets the alarm at communication disconnect.
Returns the current alarm at communication disconnect as character data.

OFF Disabled
ON Enabled(No Grace)
DELAY Enabled(Grace 3 minutes)

Example

:ALARm:DISCon ALM1,ON
:ALARm:DISCon? ALM1
(Response)  :ALARM:DISCON ALM1,ON  (when headers are enabled)

Note

-

Usage
Conditions

-




Sets and queries the alarm filter.

Syntax

(Command)

(Query)


:ALARm:FILTer alm$,A

:ALARm:FILTer? alm$

(Response)

alm$,A<NR1>

alm$ =
A = 0(OFF), 2, 5, 10, 20, 50, 100, 200, 500, 1000

Details

Sets the alarm filter.
Returns the current alarm filter setting as an NR1 numerical value.

Example

:ALARm:FILTer ALM1,2
:ALARm:FILTer? ALM1
(Response)  :ALARM:FILTER ALM1,2  (when headers are enabled)

Note

If you specify a value that is not in the setting, it will be set to the nearest value if there is a value greater than the value you tried to set.

Usage
Conditions

-




Sets and queries the alarm hold.

Syntax

(Command)

(Query)


:ALARm:HOLD A$

:ALARm:HOLD?

(Response)

A$

A$ = OFF, ON, CLEAR

Details

Sets the alarm hold.
Returns the current alarm hold as character data.
If you specify CLEAR for A$, the alarm is cleared without stopping the measurement.

Example

:ALARm:HOLD ON
:ALARm:HOLD?
(Response)  :ALARM:HOLD ON  (when headers are enabled)

Note

-

Usage
Conditions

A$=CLEAR can only be used when alarm hold is ON.




Sets and queries the alarm source AND/OR.

Syntax

(Command)

(Query)


:ALARm:SOURce alm$,A$

:ALARm:SOURce? alm$

(Response)

alm$,A$

alm$ =
A$ = OR, AND

Details

Sets the alarm source AND/OR.
Returns the current alarm source AND/OR as character data.

AND Logical product
OR Logical sum

Example

:ALARm:SOURce ALM1,AND
:ALARm:SOURce? ALM1
(Response)  :ALARM:SOURCE ALM1,AND  (when headers are enabled)

Note

-

Usage
Conditions

-




Sets and queries the type of alarm.

Syntax

(Command)








(Query)


[Analog Channel Alarm]
:ALARm:ANALog:KIND alm$,ch$,A$

[Waveform Calculation Alarm]
:ALARm:CALCulate:KIND alm$,w$,A$

[Pulse Channel Alarm]
:ALARm:PULSe:KIND alm$,pls$,A$

[Analog Channel Alarm]
:ALARm:ANALog:KIND? alm$,ch$

[Waveform Calculation Alarm]
:ALARm:CALCulate:KIND? alm$,w$

[Pulse Channel Alarm]
:ALARm:PULSe:KIND? alm$,pls$

(Response)

[Analog Channel Alarm]
alm$,ch$,A$

[Waveform Calculation Alarm]
alm$,w$,A$

[Pulse Channel Alarm]
alm$,pls$,A$

alm$ =
ch$ =
w$ =
pls$ =
A$ = OFF, LEVEl, WINDow, SLOPe

Details

Sets the type of alarm for the channel designated by alm$,ch$/w$/pls$.
Returns as character data the type of the current alarm for the channel designated by alm$,ch$/w$/pls$.

OFF 
LEVEl Level alarm
WINDow Window alarm
SLOPe Slope alarm

Example

:ALARm:ANALog:KIND ALM1,CH1_1,LEVEl
:ALARm:ANALog:KIND? ALM1,CH1_1
(Response)  :ALARM:ANALOG:KIND ALM1,CH1_1,LEVEL  (when headers are enabled)

Note

It is also possible to set and query using the following conventional commands.
:ALARm:KIND alm$,ch$,A$ / :ALARm:KIND? alm$,ch$
:ALARm:WKIND alm$,w$,A$ / :ALARm:WKIND? alm$,w$
:ALARm:PKIND alm$,pls$,A$ / :ALARm:PKIND? alm$,pls$

Usage
Conditions

-




Sets and queries the level of the level alarm.

Syntax

(Command)








(Query)


[Analog Channel Alarm]
:ALARm:ANALog:LEVEl alm$,ch$,A

[Waveform Calculation Alarm]
:ALARm:CALCulate:LEVEl alm$,w$,A

[Pulse Channel Alarm]
:ALARm:PULSe:LEVEl alm$,pls$,A

[Analog Channel Alarm]
:ALARm:ANALog:LEVEl? alm$,ch$

[Waveform Calculation Alarm]
:ALARm:CALCulate:LEVEl? alm$,w$

[Pulse Channel Alarm]
:ALARm:PULSe:LEVEl? alm$,pls$

(Response)

[Analog Channel Alarm]
alm$,ch$,A<NR3> (3 decimal places)

[Waveform Calculation Alarm]
alm$,w$,A<NR3> (4 decimal places)

[Pulse Channel Alarm]
alm$,pls$,A<NR3> (9 decimal places)

alm$ =
ch$ =
w$ =
pls$ =
[Analog Channel Alarm]
A = Configurable Range : (measurement range)×(±1.5), Minimum Resolution : (measurement range)×(1/1000)
[Waveform Calculation Alarm]
A = -9.9999E+29 to 9.9999E+29
[Pulse Channel Alarm]
A = 0 to 1000000000(count), 0 to 15000(r/s), 0 to 900000(r/min)

Details

Sets the alarm level of the level alarm of the channel designated by alm$,ch$/w$/pls$.
Returns as an NR3 numerical value the current alarm level of the channel designated by alm$,ch$/w$/pls$.

Example

:ALARm:ANALog:LEVEl ALM1,CH1_1,0.1
:ALARm:ANALog:LEVEl? ALM1,CH1_1
(Response)  :ALARM:ANALOG:LEVEL ALM1,CH1_1,+1.000E-01  (when headers are enabled)

Note

If you enter a value greater than the configurable limit, the maximum value is set.
If you enter a value less than the configurable lower limit, the minimum value is set.
It is also possible to set and query using the following conventional commands.
:ALARm:LEVEl alm$,ch$,A / :ALARm:LEVEl? alm$,ch$
:ALARm:WLEVEl alm$,w$,A / :ALARm:WLEVEl? alm$,w$
:ALARm:PLEVEl alm$,pls$,A / :ALARm:PLEVEl? alm$,pls$

Usage
Conditions

-




Sets and queries the lower limit level for a window-in/-out alarm.

Syntax

(Command)








(Query)


[Analog Channel Alarm]
:ALARm:ANALog:LOWEr alm$,ch$,A

[Waveform Calculation Alarm]
:ALARm:CALCulate:LOWEr alm$,w$,A

[Pulse Channel Alarm]
:ALARm:PULSe:LOWEr alm$,pls$,A

[Analog Channel Alarm]
:ALARm:ANALog:LOWEr? alm$,ch$

[Waveform Calculation Alarm]
:ALARm:CALCulate:LOWEr? alm$,w$

[Pulse Channel Alarm]
:ALARm:PULSe:LOWEr? alm$,pls$

(Response)

[Analog Channel Alarm]
alm$,ch$,A<NR3> (3 decimal places)

[Waveform Calculation Alarm]
alm$,w$,A<NR3> (4 decimal places)

[Pulse Channel Alarm]
alm$,pls$,A<NR3> (9 decimal places)

alm$ =
ch$ =
w$ =
pls$ =
[Analog Channel Alarm]
A = Configurable Range : (measurement range)×(±1.5), Minimum Resolution : (measurement range)×(1/1000)
[Waveform Calculation Alarm]
A = -9.9999E+29 to 9.9999E+29
[Pulse Channel Alarm]
A = 0 to 1000000000(count), 0 to 15000(r/s), 0 to 900000(r/min)

Details

Sets the lower limit level of the window alarm of the channel designated by alm$,ch$/w$/pls$ as a voltage value.
Returns the current lower limit level of the window alarm as an NR3 numerical value.

Example

:ALARm:ANALog:LOWEr ALM1,CH1_1,-0.5
:ALARm:ANALog:LOWEr? ALM1,CH1_1
(Response)  :ALARM:ANALOG:LOWER ALM1,CH1_1,-5.000E-01  (when headers are enabled)

Note

You cannot enter a value greater than or equal to the upper limit level of the window alarm.
If you enter a value greater than the configurable limit, the maximum value is set.
If you enter a value less than the configurable lower limit, the minimum value is set.
It is also possible to set and query using the following conventional commands.
:ALARm:LOWEr alm$,ch$,A / :ALARm:LOWEr? alm$,ch$
:ALARm:WLOWEr alm$,w$,A / :ALARm:WLOWEr? alm$,w$
:ALARm:PLOWEr alm$,pls$,A / :ALARm:PLOWEr? alm$,pls$

Usage
Conditions

-




Sets and queries the window alarm direction (side).

Syntax

(Command)








(Query)


[Analog Channel Alarm]
:ALARm:ANALog:SIDE alm$,ch$,A$

[Waveform Calculation Alarm]
:ALARm:CALCulate:SIDE alm$,w$,A$

[Pulse Channel Alarm]
:ALARm:PULSe:SIDE alm$,pls$,A$

[Analog Channel Alarm]
:ALARm:ANALog:SIDE? alm$,ch$

[Waveform Calculation Alarm]
:ALARm:CALCulate:SIDE? alm$,w$

[Pulse Channel Alarm]
:ALARm:PULSe:SIDE? alm$,pls$

(Response)

[Analog Channel Alarm]
alm$,ch$,A$

[Waveform Calculation Alarm]
alm$,w$,A$

[Pulse Channel Alarm]
alm$,pls$,A$

alm$ =
ch$ =
w$ =
pls$ =
A$ = IN, OUT

Details

Sets the alarm direction of the window alarm of the channel designated by alm$,ch$/w$/pls$.
Returns as a character value the current window alarm direction of the channel designated by alm$,ch$/w$/pls$.

IN Window-in
OUT Window-out

Example

:ALARm:ANALog:SIDE ALM1,CH1_1,IN
:ALARm:ANALog:SIDE? ALM1,CH1_1
(Response)  :ALARM:ANALOG:SIDE ALM1,CH1_1,IN  (when headers are enabled)

Note

It is also possible to set and query using the following conventional commands.
:ALARm:SIDE alm$,ch$,A$ / :ALARm:SIDE? alm$,ch$
:ALARm:WSIDE alm$,w$,A$ / :ALARm:WSIDE? alm$,w$
:ALARm:PSIDE alm$,pls$,A$ / :ALARm:PSIDE? alm$,pls$

Usage
Conditions

-




Sets and queries the level alarm direction (slope).

Syntax

(Command)








(Query)


[Analog Channel Alarm]
:ALARm:ANALog:SLOPe alm$,ch$,A$

[Waveform Calculation Alarm]
:ALARm:CALCulate:SLOPe alm$,w$,A$

[Pulse Channel Alarm]
:ALARm:PULSe:SLOPe alm$,pls$,A$

[Analog Channel Alarm]
:ALARm:ANALog:SLOPe? alm$,ch$

[Waveform Calculation Alarm]
:ALARm:CALCulate:SLOPe? alm$,w$

[Pulse Channel Alarm]
:ALARm:PULSe:SLOPe? alm$,pls$

(Response)

[Analog Channel Alarm]
alm$,ch$,A$

[Waveform Calculation Alarm]
alm$,w$,A$

[Pulse Channel Alarm]
alm$,pls$,A$

alm$ =
ch$ =
w$ =
pls$ =
A$ = HIGH, LOW

Details

Sets the alarm direction of the level alarm of the channel designated by alm$,ch$/w$/pls$.
Returns as a character value the current level alarm direction of the channel designated by alm$,ch$/w$/pls$.

HIGH High
LOW Low

Example

:ALARm:ANALog:SLOPe ALM1,CH1_1,HIGH
:ALARm:ANALog:SLOPe? ALM1,CH1_1
(Response)  :ALARM:ANALOG:SLOPE ALM1,CH1_1,UP  (when headers are enabled)

Note

It is also possible to set and query using the following conventional commands.
:ALARm:SLOPe alm$,ch$,A$ / :ALARm:SLOPe? alm$,ch$
:ALARm:WSLOPe alm$,w$,A$ / :ALARm:WSLOPe? alm$,w$
:ALARm:PSLOPe alm$,pls$,A$ / :ALARm:PSLOPe? alm$,pls$

Usage
Conditions

-




Sets and queries the time width of slope alarm.

Syntax

(Command)








(Query)


[Analog Channel Alarm]
:ALARm:ANALog:STIMe alm$,ch$,hour,min,sec

[Waveform Calculation Alarm]
:ALARm:CALCulate:STIMe alm$,w$,hour,min,sec

[Pulse Channel Alarm]
:ALARm:PULSe:STIMe alm$,pls$,hour,min,sec

[Analog Channel Alarm]
:ALARm:ANALog:STIMe? alm$,ch$

[Waveform Calculation Alarm]
:ALARm:CALCulate:STIMe? alm$,w$

[Pulse Channel Alarm]
:ALARm:PULSe:STIMe? alm$,pls$

(Response)

[Analog Channel Alarm]
alm$,ch$,hour<NR1>,min<NR1>,sec<NR1>

[Waveform Calculation Alarm]
alm$,w$,hour<NR1>,min<NR1>,sec<NR1>

[Pulse Channel Alarm]
alm$,pls$,hour<NR1>,min<NR1>,sec<NR1>

alm$ =
ch$ =
w$ =
pls$ =
hour = 0 to 6(hour)
min = 0 to 59(min)
sec = 0 to 59(sec)

Details

Sets the time width of slope alarm of the channel designated by alm$,ch$/w$/pls$.
Returns as an NR1 numerical value the current time width of slope alarm of the channel designated by alm$,ch$/w$/pls$.

Example

:ALARm:ANALog:STIMe ALM1,CH1_1,0,1,20
:ALARm:ANALog:STIMe? ALM1,CH1_1
(Response)  :ALARM:ANALOG:STIME ALM1,CH1_1,0,1,20  (when headers are enabled)

Note

0,0,0 can not be set.

Usage
Conditions

-




Sets and queries the upper limit level for a window-in/-out alarm.

Syntax

(Command)








(Query)


[Analog Channel Alarm]
:ALARm:ANALog:UPPEr alm$,ch$,A

[Waveform Calculation Alarm]
:ALARm:CALCulate:UPPEr alm$,w$,A

[Pulse Channel Alarm]
:ALARm:PULSe:UPPEr alm$,pls$,A

[Analog Channel Alarm]
:ALARm:ANALog:UPPEr? alm$,ch$

[Waveform Calculation Alarm]
:ALARm:CALCulate:UPPEr? alm$,w$

[Pulse Channel Alarm]
:ALARm:PULSe:UPPEr? alm$,pls$

(Response)

[Analog Channel Alarm]
alm$,ch$,A<NR3> (3 decimal places)

[Waveform Calculation Alarm]
alm$,w$,A<NR3> (4 decimal places)

[Pulse Channel Alarm]
alm$,pls$,A<NR3> (9 decimal places)

alm$ =
ch$ =
w$ =
pls$ =
[Analog Channel Alarm]
A = Configurable Range : (measurement range)×(±1.5), Minimum Resolution : (measurement range)×(1/1000)
[Waveform Calculation Alarm]
A = -9.9999E+29 to 9.9999E+29
[Pulse Channel Alarm]
A = 0 to 1000000000(count), 0 to 15000(r/s), 0 to 900000(r/min)

Details

Sets the upper limit level of the window alarm of the channel designated by alm$,ch$/w$/pls$ as a voltage value.
Returns the current upper limit level of the window alarm as an NR3 numerical value.

Example

:ALARm:ANALog:UPPEr ALM1,CH1_1,0.5
:ALARm:ANALog:UPPEr? ALM1,CH1_1
(Response)  :ALARM:ANALOG:UPPER ALM1,CH1_1,+5.000E-01  (when headers are enabled)

Note

You cannot enter a value less than or equal to the lower limit level of the window alarm.
If you enter a value greater than the configurable limit, the maximum value is set.
If you enter a value less than the configurable lower limit, the minimum value is set.
It is also possible to set and query using the following conventional commands.
:ALARm:UPPEr alm$,ch$,A / :ALARm:UPPEr? alm$,ch$
:ALARm:WUPPEr alm$,w$,A / :ALARm:WUPPEr? alm$,w$
:ALARm:PUPPEr alm$,pls$,A / :ALARm:PUPPEr? alm$,pls$

Usage
Conditions

-




Sets and queries the logical operator (AND/OR) for the alarm pattern of a logic alarm.

Syntax

(Command)

(Query)


:ALARm:LOGic:ANDOR alm$,A$

:ALARm:LOGic:ANDOR? alm$

(Response)

alm$,A$

alm$ =
A$ = OFF, OR, AND

Details

Sets the AND/OR logical operator for the alarm pattern of a logic alarm of the channel designated by alm$.
Returns the present AND/OR setting for the alarm pattern of a logic alarm as a character string.

OFF Alarm OFF
OR Logical sum
AND Logical product

Example

:ALARm:LOGic:ANDOR ALM1,OR
:ALARm:LOGic:ANDOR? ALM1,
(Response)  :ALARM:LOGIC:ANDOR ALM1,OR  (when headers are enabled)

Note

It is also possible to set and query using the following conventional commands.
:ALARm:LOGAnd alm$,A$ / :ALARm:LOGAnd? alm$

Usage
Conditions

-




Sets and queries the alarm pattern for a logic alarm.

Syntax

(Command)

(Query)


:ALARm:LOGic:PATTern alm$,"A$"

:ALARm:LOGic:PATTern? alm$

(Response)

"A$"

alm$ =
A$ = xxxxxxxx
Alarm pattern(X,0,1)

Details

Sets the alarm pattern (8 bits) for the logic alarm.
Returns the setting for the alarm pattern (8 bits) for the logic alarm as that specified by the given character data.

X Ignore signal
0 Alarm at low level
1 Alarm at high level

Example

:ALARm:LOGic:PATTern ALM1,"X01XX01X"
:ALARm:LOGic:PATTern? ALM1
(Response)  :ALARM:LOGIC:PATTERN ALM1,"X01XX01X"  (when headers are enabled)

Note

It is also possible to set and query using the following conventional commands.
:ALARm:LOGPat alm$,"A$" / :ALARm:LOGPat? alm$

Usage
Conditions

-