IviRFSigGen_ConfigureFrequencySweepStartStop

CVI/LabWindows IVI Class Driver

IviRFSigGen_ConfigureFrequencySweepStartStop

IviRFSigGenFrequencySweep Capability Group

C Function Prototype

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

Purpose

This function configures the start and stop frequencies for a frequency sweep. If the stop frequency is less than the start frequency, the frequency decreases 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 frequency of the sweep. If the stop frequency is less than the start frequency, the frequency decreases during the sweep. The driver uses this value to set the IVIRFSIGGEN_ATTR_FREQUENCY_SWEEP_START attribute.

Units: Hertz

Default Value: 100.0 KHz

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

Units: Hertz

Default Value: 100.0 MHz

Return Values