RFmxLteMXComponentCarrier.SetFrequency Method
- Updated2024-07-17
- 1 minute(s) read
RFmxLteMXComponentCarrierSetFrequency Method
Sets 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 SetFrequency( string selectorString, double value )
Public Function SetFrequency ( selectorString As String, 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
Specifies 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 sets the value of SetFrequency(String, Double) attribute. The default value is 0.