FORMat:READing:UNIT

From Keysight 34970A/34972A

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:

  • 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
<mode> Boolean {OFF|0|ON|1} This is a required parameter.

The factory default 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 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 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 Subsystem Introduction

FORMat:READing:ALARm

FORMat:READing:CHANnel

FORMat:READing:TIME

FORMat:READing:TIME:TYPE