Write/Read
About Diff I/Q App

AutoRangeState Property


Description

Sets and reads the ON/ OFF state of auto range source attenuation.

On the Source Configuration dialog under Power, this is the Auto range source attenuator setting.

 VB Syntax

DIQ.AutoRangeState (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

(Boolean)  Choose from:

  • ON or 1 - Auto range the source attenuation.

  • OFF or 0 - Do not Auto range the source attenuation.

Return Type

Boolean

Default

ON

Examples

diq.AutoRangeState = True 'Write

value = diq.AutoRangeState 'Read

C++ Syntax

HRESULT get_AutoRangeState(BSTR port, BOOL* AutoRangeState);

HRESULT put_AutoRangeState(BSTR port, BOOL AutoRangeState);

Interface

IDifferentialIQ