RFmxLteMXComponentCarrier.GetFrequency Method
- Updated2024-07-17
- 1 minute(s) read
RFmxLteMXComponentCarrierGetFrequency Method
Gets the offset of the component carrier from the subblock center frequency that you configure in the Center Frequency method. This value is expressed in Hz. This method is applicable only if you set the ComponentCarrierSpacingType method to User.
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 GetFrequency( string selectorString, out double value )
Public Function GetFrequency ( selectorString As String, <OutAttribute> ByRef value As Double ) As Integer
Parameters
- selectorString
- Type: SystemString
Specifies the carrier number and subblock number.
Example:
"subblock0" or
"subblock0/carrier0".
You can use the BuildCarrierString(String, Int32) method to build the selector string. - value
- Type: SystemDouble
Upon return, contains the offset of the component carrier from the subblock center frequency that you configure in the Center Frequency method. This value is expressed in Hz. This method is applicable only if you set the ComponentCarrierSpacingType method to User.
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 SetFrequency(String, Double) attribute. The default value is 0.