GetExternalAttenuation(string, out double)
- Updated2025-10-13
- 1 minute(s) read
Gets the attenuation of a switch or cable connected to the RF IN connector of the signal analyzer. This value is expressed in dB. For more information about attenuation, refer to the RF Attenuation and Signal Levels topic for your device in the NI RF Vector Signal Analyzers Help.
Syntax
Namespace: NationalInstruments.RFmx.PulseMX
public int GetExternalAttenuation(string selectorString, out double value)
Remarks
This method gets the value of ExternalAttenuation attribute.The default value is 0.
Parameters
| Name | Type | Description |
|---|---|---|
| selectorString | string | Pass an empty string. The signal name that is passed when creating the signal configuration is used. |
| value | out double | Upon return, contains the attenuation of a switch or cable connected to the RF IN connector of the signal analyzer. This value is expressed in dB. For more information about attenuation, refer to the RF Attenuation and Signal Levels topic for your device in the NI RF Vector Signal Analyzers Help. |
Returns
Returns the status code of this method. The status code either indicates success or describes a warning condition.