ConfigureExternalAttenuation(string, double)
- Updated2025-10-13
- 1 minute(s) read
Specifies the attenuation of a switch (or cable) connected to the RF IN connector of the signal analyzer.
Syntax
Namespace: NationalInstruments.RFmx.SpecAnMX
public int ConfigureExternalAttenuation(string selectorString, double externalAttenuation)
Remarks
This method maps to the RFmxSpecAn_CfgExternalAttenuation() function in C.
Parameters
| Name | Type | Description |
|---|---|---|
| selectorString | string | Pass an empty string. The signal name that is passed when creating the signal configuration is used. |
| externalAttenuation | double | Specifies the attenuation, in dB, of a switch (or cable) connected to the RF IN connector of the signal analyzer. |
Returns
Returns the status code of this method. The status code either indicates success or describes an error or warning condition.