FrequencyOffsetMode
- Updated2025-10-14
- 2 minute(s) read
Gets or sets whether to allow NI-RFSG to select the upconverter frequency offset. You can either set an offset yourself or let NI-RFSG set one for you.
Syntax
Namespace: NationalInstruments.ModularInstruments.NIRfsg
public UpconverterFrequencyOffsetMode FrequencyOffsetMode { get; set; }
Remarks
The default value is Auto.
Placing the upconverter center frequency outside the bandwidth of your input signal can help avoid issues such as LO leakage.
To set an offset yourself, set this property to Auto or UserDefined and set either the CenterFrequency or the FrequencyOffset properties.
To allow NI-RFSG to automatically select the upconverter frequency offset, set this property to Auto or Enable and set the SignalBandwidth property to describe your expected input signal. The signal bandwidth must be no greater than half the specified value of the DeviceInstantaneousBandwidth property, minus a device-specific guard band. Do not set the CenterFrequency or the FrequencyOffset properties. If all conditions are met, NI-RFSG places the upconverter center frequency outside the signal bandwidth if there is sufficient room in the device instantaneous bandwidth to do so. Set this property to Enable if you want to receive an error any time NI-RFSG is unable to apply automatic offset.
When you set an offset yourself or do not use an offset, the reference frequency for gain is near the upconverter center frequency, and this property returns UserDefined. When NI-RFSG automatically sets an offset, the reference frequency for gain is the I/Q carrier frequency, and this property returns Enable. Refer to the specifications document for your device for more information about gain, flatness, and reference frequencies.
Exceptions
| Type | Description |
|---|---|
| System.ObjectDisposedException | The FrequencyOffsetMode property was accessed after the associated NIRfsg object was disposed. |