FORMat:READing:UNIT

34980A

FORMat:READing:UNIT

Syntax

FORMat:READing:UNIT <mode>

FORMat:READing:UNIT?

Description

This command disables or enables the inclusion of measurement units (VAC, VDC, OHM, etc.) 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 (frequency measurements only)

Parameters

Name

Type

Range of Values

Default Value

<mode>

Boolean

{OFF|0|ON|1}

OFF (measurement units are 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 unit setting.

  • The unit 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 measurement units.

FORM:READ:UNIT ON

The following query returns the measurement units setting.

FORM:READ:UNIT?

Typical Response:  1

See Also

FORMat:READing:ALARm

FORMat:READing:CHANnel

FORMat:READing:TIME

FORMat:READing:UNIT