Write/Read
About Diff I/Q App

PortAttenuator Property


Description

Sets and reads the amount of source attenuation. Sending this command will set AutoRangeState Property False.

On the Source Configuration dialog under Power, this is the Source Attenuation setting.

 VB Syntax

DIQ.PortAttenuator (port) = value

Variable

(Type) - Description

DIQ

A Differential I/Q (object)

port

(String) Source port name. Use SourcePortNames to read a list of valid source ports.

value

(Double) Source Attenuation value. Choose from 0 to the maximum amount of source attenuation in the correct step size.

Rounding will occur when the selected value can not be achieved.

See attenuators for all VNA models.

Return Type

Double

Default

0

Examples

oDIQ.PortAttenuator("port 2") = 0

Value = oDIQ.PortAttenuator("port 2") 'Read

C++ Syntax

HRESULT get_PortAttenuator(BSTR port, double* PortAttenuator);

HRESULT put_PortAttenuator(BSTR port, double PortAttenuator);

Interface

IDIQ