IviRFSigGen_ConfigurePowerStepStartStop

CVI/LabWindows IVI Class Driver

IviRFSigGen_ConfigurePowerStepStartStop

IviRFSigGenPowerStep Capability Group

C Function Prototype

ViStatus IviRFSigGen_ConfigurePowerStepStartStop (ViSession vi, ViReal64 start, ViReal64 stop, ViReal64 stepSize);

Purpose

This function configures the settings that control the power steps of the generator's RF output signal. These settings are start and stop power and step size. 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 stepped 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_STEP_START attribute.

Units: dBm

Default Value: -50.0

stop ViReal64 Specifies the start power of the stepped 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_STEP_STOP attribute.

Units: dBm

Default Value: -10.0

stepSize ViReal64 Specifies the step size. The driver uses this value to set the IVIRFSIGGEN_ATTR_POWER_STEP_SIZE attribute.

Units: dBm

Default Value: 0.1 dBm

Return Values