IviSpecAn_ConfigureFrequencyStartStop
IviSpecAnBase Capability Group
C Function Prototype
ViStatus IviSpecAn_ConfigureFrequencyStartStop (ViSession vi, ViReal64 startFrequency, ViReal64 stopFrequency);
Purpose
This function configures the frequency range defining its start frequency and its stop frequency. If the start frequency is equal to the stop frequency, then the spectrum analyzer operates in the time-domain mode. Otherwise, the spectrum analyzer operates in frequency-domain mode.
Notes:
(1) In auto-coupled mode, resolution bandwidth (RBW), video bandwidth (VBW), and sweep time may be affected by this function.
Parameters
Name | Type | Description |
---|---|---|
vi | ViSession | The ViSession handle that you obtain from the IviSpecAn_init or IviSpecAn_InitWithOptions function. The handle identifies a particular instrument session. Default Value: None |
startFrequency | ViReal64 | The start frequency of the frequency sweep. The driver uses this value to set the IVISPECAN_ATTR_FREQUENCY_START attribute. Units: Hertz Default Value: 1.0 MHz |
stopFrequency | ViReal64 | The stop frequency of the frequency sweep. The driver uses this value to set the IVISPECAN_ATTR_FREQUENCY_STOP attribute. Units: Hertz Default Value: 10.0 MHz |