:CONFigure:DEMux:ATTenuation

Flex Apps:
FlexOTO
FlexOTO Instance:
Hardware Diagram

Command Syntax

:CONFigure:DEMux:ATTenuation "<demux-name>","<lane-number>",<attenuation>

Where <demux-name> is the name that identifies the Demux block on the Hardware Diagram.

Where <lane-number> is number of the lane through the Demux block. For example, "2".

Where <attenuation> is attenuation in dB.

Query Syntax

:CONFigure:DEMux:ATTenuation? "<demux-name>", "<lane-number>"

Query Response

The attenuation (double) in dB.

Description

Specifies the nominal attenuation of the demultiplexer's lane. The default nominal attenuation is 0 dB.

When an optical calibration is active, all loss due to the lane and connected switch paths, excluding the nominal attenuation specified with this command, will be removed from the relevant measurements. To specify that all lanes have the same nominal attenuation, use the :CONFigure:DEMux:ATTenuation:USAMe command.

Example Command

This example installs a Demultiplexer, turns off "All lanes have the same attenuation", enters the attenuation on Lane 1, and enters the attenuation on Lane 2.

hwdiagram.write(':CONFigure:DEMux:ACTive "Demux 2", ON')
hwdiagram.write(':CONFigure:DEMux:ATTenuation:USAMe "Demux 2", OFF')
hwdiagram.write(':CONFigure:DEMux:ATTenuation "Demux 1", "1", 0.05')
hwdiagram.write(':CONFigure:DEMux:ATTenuation "Demux 1", "2", 0.07')