Format SCPI

M9370A / M9371A / M9372A / M9374A / M9375A

Calculate:Format Commands


CALCulate:

FORMat

UNIT

 

Critical Note: CALCulate commands act on the selected measurement. You can select one measurement for each channel using Calc:Par:MNUM or Calc:Par:Select. Learn more.

See Also


CALCulate<cnum>:FORMat <char>

(Read-Write) Sets the display format for the measurement.

See Critical Note

Parameters

 

<cnum>

Channel number of the measurement. There must be a selected measurement on that channel. If unspecified, <cnum> is set to 1.

<char>

Choose from:

  • MLINear

  • MLOGarithmic

  • PHASe

  • UPHase 'Unwrapped phase

  • IMAGinary

  • REAL

  • POLar

  • SMITh

  • SADMittance 'Smith Admittance

  • SWR

  • GDELay 'Group Delay

  • KELVin

  • FAHRenheit

  • CELSius

Examples

CALC:FORM MLIN
calculate2:format polar

Query Syntax

CALCulate<cnum>:FORMat?

Return Type

Character

Default

MLINear


CALCulate<cnum>:FORMat:UNIT <dataFormat>, <units>

(Read-Write) Sets and returns the units for the specified data format.  Measurements with display formats other than those specified are not affected.

See Critical Note

Parameters

 

<cnum>

Channel number of the measurement. There must be a selected measurement on that channel. If unspecified, <cnum> is set to 1.

<dataFormat>

Choose from:

  • MLOG - Log magnitude

  • MLIN - Linear magnitude

<units>

For unratioed MLOG measurements, choose from:

  • DBM  Units are displayed in dBm.  0 dBm = 0.001 watt

  • DBMV Units are displayed in dBmV.  0 dBmV = 0.001 volt

  • DBMA Units are displayed in dBmA. 0 dBmA = 0.001 Ampere

For unratioed MLIN measurements, choose from:

  • W -Units are displayed in  Watts
  • V -Units are displayed in Volts
  • A -Units are displayed in Amperes

Examples

CALC:FORM MLOG, DBM
calculate2:format mlog,dbmv

Query Syntax

CALCulate<cnum>:FORMat:UNIT? <dataFormat>

Return Type

Character

Default

MLOG, DBM


Last Modified:

28-July-2014

Added MLIN

25-Aug-2008

Added Units

1-Oct-2007

Added temperature formats