FORMat:READing:ALARm

34980A

FORMat:READing:ALARm

Syntax

FORMat:READing:ALARm <mode>

FORMat:READing:ALARm?

Description

This command disables or enables the inclusion of alarm information with data retrieved by the READ? command, the FETCh? command, or other queries of scan results. This command operates in conjunction with the other FORMat:READing commands (they are not mutually exclusive). See Format Subsystem Introduction for examples of fully-formatted results from a scan.

Used With:

  • 34921A through 34925A Multiplexer Modules

  • 34950A Digital I/O Module (digital input and counter channels only)

  • 34952A Multifunction Module (digital input and totalizer channels only)

Parameters

Name

Type

Range of Values

Default Value

<mode>

Boolean

{OFF|0|ON|1}

OFF (alarm data not included)

Remarks

  • The reading format applies to all readings being retrieved from the instrument; you cannot set the format on a per-channel basis.

  • The CONFigure and MEASure? commands automatically disable the alarm setting.

  • The alarm setting is stored in volatile memory and will be disabled (OFF) when power is turned off or after a Factory Reset (*RST command).

Return Format

The query command returns "0" (OFF) or "1" (ON).

Examples

The following command enables the inclusion of alarm information.

FORM:READ:ALAR ON

The following query returns the alarm setting.

FORM:READ:ALAR?

Typical Response:  1

See Also

FORMat:READing:CHANnel

FORMat:READing:TIME

FORMat:READing:UNIT