FORMat:READing:ALARm
FORMat:READing:ALARm
Syntax
FORMat:READing:ALARm <state>
FORMat:READing:ALARm?
Description
This command disables or enables the inclusion of alarm information with data retrieved by the READ? command, the FETCh? command, and 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:
- 34901A 20 Channel Multiplexer (2/4-wire) Module
- 34902A 16 Channel Multiplexer (2/4-wire) Module
- 34907A Multifunction Module (digital input only)
- 34908A 40 Channel Single-Ended Multiplexer Module
Parameters
Name Type Range of Values Default Value <state> Boolean {OFF|0|ON|1} This is a required parameter. The factory reset value is OFF (disabled).
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 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