IviRFSigGen_ConfigureFrequencySweepCenterSpan

CVI/LabWindows IVI Class Driver

IviRFSigGen_ConfigureFrequencySweepCenterSpan

IviRFSigGenFrequencySweep Capability Group

C Function Prototype

ViStatus IviRFSigGen_ConfigureFrequencySweepCenterSpan (ViSession vi, ViReal64 center, ViReal64 span);

Purpose

This function configures the center frequency and span for a frequency sweep. This function modifies the start and stop attributes as follows:

IVIRFSIGGEN_ATTR_FREQUENCY_STEP_START = Center - Span / 2
IVIRFSIGGEN_ATTR_FREQUENCY_STEP_STOP = Center + Span / 2

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

center ViReal64 Specifies the center frequency for a frequency sweep.

Units: Hertz

Default Value: 50.0 MHz

span ViReal64 Specifies the frequency span for a frequency sweep.

Units: Hertz

Default Value: 500.0 KHz

Return Values