SetCalibrationLoss(string, double[])
- Updated2025-10-13
- 1 minute(s) read
Sets the array of ohmic losses between the noise source and input port of the analyzer during calibration, as a function of frequency. This value is expressed in dB. This loss is accounted for by the noise figure (NF) measurement when you set the SetCalibrationLossCompensationEnabled(string, RFmxSpecAnMXNFCalibrationLossCompensationEnabled) method to True. You must exclude any loss specified by the SetYFactorNoiseSourceLoss(string, double[]) method. This method specifies the frequencies at which the SetCalibrationLossFrequency(string, double[]) method measures the losses.
Syntax
Namespace: NationalInstruments.RFmx.SpecAnMX
public int SetCalibrationLoss(string selectorString, double[] value)
Remarks
This method sets the value of NFCalibrationLoss attribute.The default value is an empty array.
Parameters
| Name | Type | Description |
|---|---|---|
| selectorString | string | Pass an empty string. The signal name that is passed when creating the signal configuration is used. |
| value | double[] | Specifies the array of ohmic losses between the noise source and input port of the analyzer during calibration, as a function of frequency. This value is expressed in dB. This loss is accounted for by the noise figure (NF) measurement when you set the SetCalibrationLossCompensationEnabled(string, RFmxSpecAnMXNFCalibrationLossCompensationEnabled) method to True. You must exclude any loss specified by the SetYFactorNoiseSourceLoss(string, double[]) method. This method specifies the frequencies at which the SetCalibrationLossFrequency(string, double[]) method measures the losses. |
Returns
Returns the status code of this method. The status code either indicates success or describes a warning condition.