beautypg.com

Retrieving analysis results (wdm) – EXFO FTB -5240S/5240BP Optical Spectrum Analyzer User Manual

Page 615

background image

SCPI Command Reference

OSA

609

Examples on Using the SCPI Commands

Retrieving Analysis Results (WDM)

Command Sequence

Comments

UNIT:POW DBM

Set the default unit for absolute power value

queries.

UNIT:RAT DB

Set the default unit for relative power value

queries.

UNIT:SPEC M

Set the default unit for spectrum value queries.

trace data>

See Retrieving Analyzed Trace Data (WDM) on

page 610.

results>

See Retrieving Global Results (WDM) on

page 610.

CALC:WDM:DATA:CHAN:CAT?
or
CALC:WDM:DATA:CHAN:COUN?

Optional: Query channel results identifier list or

channel count. Necessary only when querying

results for channels automatically created

based on the default channel.

Note: It is also possible to query the full

channel results table. See
Retrieving Channel Results Table
(WDM) on page 612.

CALC:WDM:DATA:CHAN:SEL "C_001"
or
CALC:WDM:DATA:CHAN:NSEL 1

Select first channel result to process using

specific channel identifier or one-based

channel result index.

results>

See Retrieving Selected Channel Results
(WDM)
on page 611.

CALC:WDM:DATA:CHAN:SEL "C_002"
or
CALC:WDM:DATA:CHAN:NSEL 2

Select the next channel result to process using

specific channel identifier or one-based

channel result index.

results>

See Retrieving Selected Channel Results
(WDM)
on page 611.