GetDownconverterFrequencyOffset(string, out double)
- Updated2025-10-13
- 2 minute(s) read
Gets an offset from the center frequency value for the downconverter. Use this method to offset the measurement away from the LO leakage or DC Offset of analyzers that use a direct conversion architecture. You must set this method to half the bandwidth or span of the measurement + guardband. The guardband is needed to ensure that the LO leakage is not inside the analog or digital filter rolloffs. This value is expressed in Hz.
Syntax
Namespace: NationalInstruments.RFmx.InstrMX
public int GetDownconverterFrequencyOffset(string channelName, out double value)
Remarks
This method gets the value of DownconverterFrequencyOffset attribute.Default values: For spectrum acquisition types, RFmx automatically calculates the default value to avoid residual LO power. For I/Q acquisition types, the default value is 0 Hz. If the center frequency is set to a non-multiple of LO Frequency Step Size property, this property is set to compensate for the difference. Supported Devices: PXIe-5644/5645/5646, PXIe-5830/5831/5832/5840/5841/5842. The following valid values correspond to their respective devices:PXIe-5646-100 MHz to +100 MHz PXIe-5830/5831/5832/5840/5841/5842-500 MHz to +500 MHz Other devices-42 MHz to +42 MHz
Parameters
| Name | Type | Description |
|---|---|---|
| channelName | string | Pass an empty string. |
| value | out double | Upon return, contains an offset from the center frequency value for the downconverter. Use this method to offset the measurement away from the LO leakage or DC Offset of analyzers that use a direct conversion architecture. You must set this method to half the bandwidth or span of the measurement + guardband. The guardband is needed to ensure that the LO leakage is not inside the analog or digital filter rolloffs. This value is expressed in Hz. |
Returns
Returns the status code of this method. The status code either indicates success or describes a warning condition.