IviRFSigGen_ConfigurePowerSweepStartStop

CVI/LabWindows IVI Class Driver

IviRFSigGen_ConfigurePowerSweepStartStop

IviRFSigGenPowerSweep Capability Group

C Function Prototype

ViStatus IviRFSigGen_ConfigurePowerSweepStartStop (ViSession vi, ViReal64 start, ViReal64 stop);

Purpose

This function configures the start and stop power for a power sweep. If the stop power is less than the start power, the power decreases in value during the sweep.

Parameters

Name Type Description
vi ViSession The ViSession handle that you obtain from the IviRFSigGen_init or IviRFSigGen_InitWithOptions function. The handle identifies a particular instrument session.

Default Value: None

start ViReal64 Specifies the start power of the sweep. If the stop power is less than the start power, the power decreases in value during the sweep. The driver uses this value to set the IVIRFSIGGEN_ATTR_POWER_SWEEP_START attribute.

Units: dBm

Default Value: -50.0 dBm

stop ViReal64 Specifies the stop power of the sweep. If the stop power is less than the start power, the power decreases in value during the sweep. The driver uses this value to set the IVIRFSIGGEN_ATTR_POWER_SWEEP_STOP attribute.

Units: dBm

Default Value: -10.0 dBm

Return Values