RFmxLteMX.GetExternalAttenuation Method
- Updated2024-07-17
- 1 minute(s) read
RFmxLteMXGetExternalAttenuation Method
Gets the attenuation of a switch or cable connected to the RF IN connector of the signal analyzer. This value is expressed in dB. Refer to the RF Attenuation and Signal Levels topic for your device in the NI RF Vector Signal Analyzers Help for more information about attenuation.
Namespace: NationalInstruments.RFmx.LteMX
Assembly: NationalInstruments.RFmx.LteMX.Fx40 (in NationalInstruments.RFmx.LteMX.Fx40.dll) Version: 24.5.0.49283 (24.5.0.49283)
Syntax
public int GetExternalAttenuation( string selectorString, out double value )
Public Function GetExternalAttenuation ( selectorString As String, <OutAttribute> ByRef value As Double ) As Integer
Parameters
- selectorString
- Type: SystemString
Pass an empty string. The signal name that is passed when creating the signal configuration is used. - value
- Type: SystemDouble
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. Refer to the RF Attenuation and Signal Levels topic for your device in the NI RF Vector Signal Analyzers Help for more information about attenuation.
Return Value
Type: Int32Returns the status code of this method. The status code either indicates success or describes a warning condition.
Remarks
This method gets the value of ExternalAttenuation attribute. The default value is 0.