beautypg.com

Calculate[1..n][:wdm]:channel: count – EXFO FTB -5240S/5240BP Optical Spectrum Analyzer User Manual

Page 403

background image

SCPI Command Reference

OSA

397

Product-Specific Commands—Description

:CALCulate[1..n][:WDM]:CHANnel:

COUNt?

Description

This query returns the number of user defined

channels for WDM analysis.

At *RST, the number of channels is 0.

Syntax

:CALCulate[1..n][:WDM]:CHANnel:COUNt?

Parameter(s)

None

Response Syntax

Response(s)

Count:
The response data syntax for is defined

as a

element.

The response corresponds to the

number of items in the list of user defined

channels.

Example(s)

CALC:CHAN:DEL:ALL

CALC:CHAN:DEF "C_1530", 1530.000 NM

CALC:CHAN:DEF "C_1570", 1570.000 NM

CALC:CHAN:COUN? Returns 2

See Also

:CALCulate[1..n][:WDM]:CHANnel:CATalog?

:CALCulate[1..n][:WDM]:CHANnel[:DEFine]

:CALCulate[1..n][:WDM]:CHANnel:DELete[:NAM

E]

:CALCulate[1..n][:WDM]:CHANnel:DELete:ALL

:CALCulate[1..n][:WDM]:DATA:CHANnel:COUNt?