RFmxCdma2kMX.SetExternalAttenuation Method
- Updated2024-07-17
- 1 minute(s) read
RFmx
Sets 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.
Namespace: NationalInstruments.RFmx.Cdma2kMX
Assembly: NationalInstruments.RFmx.Cdma2kMX.Fx40 (in NationalInstruments.RFmx.Cdma2kMX.Fx40.dll) Version: 24.5.0.49286 (24.5.0.49286)
Syntax
public int SetExternalAttenuation( string selectorString, double value )
Public Function SetExternalAttenuation ( selectorString As String, value As Double ) As Integer
Parameters
- selectorString String
- Pass an empty string. The signal name that is passed when creating the signal configuration is used.
- value Double
- Specifies 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.
Return Value
Int32Returns the status code of this method. The status code either indicates success or describes a warning condition.
Remarks
This method sets the value of ExternalAttenuation attribute.The default value is 0 dB.