beautypg.com

Unit[1..n]:ratio – EXFO FTB -5240S/5240BP Optical Spectrum Analyzer User Manual

Page 600

background image

SCPI Command Reference

594

FTB-5240S/S-P/BP

Product-Specific Commands—Description

:UNIT[1..n]:RATio

Description

This command selects a default unit for

commands which program relative power.

At *RST, default relative power unit is set to DB.

Syntax

:UNIT[1..n]:RATioDB|W/W|PCT

Parameter(s)

Unit:
The program data syntax for the first parameter is

defined as a

element. The allowed

DATA> elements for this parameter are:

DB|W/W|PCT.

The parameter corresponds to the newly

selected default relative power unit.

DB: selects dB power unit.

W/W: selects watt ratio power unit.

PCT: selects percent power unit

Example(s)

UNIT:POW W

UNIT:POW? Returns W

UNIT:RAT DB

UNIT:RAT? Returns DB

UNIT:POW? Returns DBM

Notes

Changing default relative power unit also sets the

default absolute power unit (UNIT:POWer) to the

corresponding setting.

See Also

:UNIT[1..n]:POWer

:UNIT[1..n]:SPECtrum

:UNIT[1..n]:RATio?