Write/Read
About Diff I/Q App

PowerSweepState Property


Description

Sets and reads the state of sweeping power.

On the Source Configuration dialog under Power, this is the Sweep Power (On|Off) setting.

 VB Syntax

DIQ.PowerSweepState (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) Sweep Power state. Choose from:

  • True - Perform power sweep.

  • False - Do not perform power sweep.

Return Type

Boolean

Default

False

Examples

oDIQ.PowerSweepState("port 2") = True

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

C++ Syntax

HRESULT get_PowerSweepState(BSTR port, BOOL* PowerSweepState);

HRESULT put_PowerSweepState(BSTR port, BOOL PowerSweepState);

Interface

IDIQ