IviSpecAn_ConfigureFrequencyOffset

CVI/LabWindows IVI Class Driver

IviSpecAn_ConfigureFrequencyOffset

IviSpecAnBase Capability Group

C Function Prototype

ViStatus IviSpecAn_ConfigureFrequencyOffset (ViSession vi, ViReal64 frequencyOffset);

Purpose

This function configures the frequency offset of the spectrum analyzer. This affects the setting of the spectrum analyzer's absolute frequencies, such as start, stop, center, and marker. This function does not modify the settings for differences of frequencies, such as span and delta marker.

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

frequencyOffset ViReal64 Specifies an offset value that is added to the frequency readout. The offset is used to compensate for external frequency conversion. The driver uses this value to set the IVISPECAN_ATTR_FREQUENCY_OFFSET attribute.

Units: Hertz

Default Value: 1.0e12 Hz

Return Values