GetOffsetRelativeAttenuation(string, out double)
- Updated2025-10-13
- 1 minute(s) read
Gets the attenuation, in dB, relative to the SetExternalAttenuation(string, double) method. Use this method to compensate for the variations in external attenuation when offset segments are spread wide in frequency.
Syntax
Namespace: NationalInstruments.RFmx.SpecAnMX
public int GetOffsetRelativeAttenuation(string selectorString, out double value)
Remarks
This method maps to the RFmxSpecAn_SEMGetOffsetRelativeAttenuation() function in C.
Parameters
| Name | Type | Description |
|---|---|---|
| selectorString | string | Specifies the offset number. Example: "offset0". You can use the BuildOffsetString2(string, int) method to build the selector string. |
| value | out double | Upon return, contains the attenuation, in dB, relative to the SetExternalAttenuation(string, double) method. |
Returns
Returns the status code of this method. The status code either indicates success or describes an error or warning condition.