RFmxWlanMX.SetCenterFrequency Method
- Updated2024-07-17
- 1 minute(s) read
RFmxWlanMXSetCenterFrequency Method
Sets the expected carrier frequency of the RF signal that needs to be acquired. This value is expressed in Hz. The signal analyzer tunes to this frequency.
On a MIMO session, use segment(n) along with a named or default signal instance as the selector string to configure this method. Refer to the Selector Strings topic for information about the string syntax for named signals.
Namespace: NationalInstruments.RFmx.WlanMX
Assembly: NationalInstruments.RFmx.WlanMX.Fx40 (in NationalInstruments.RFmx.WlanMX.Fx40.dll) Version: 24.5.0.49283 (24.5.0.49283)
Syntax
public int SetCenterFrequency( string selectorString, double value )
Public Function SetCenterFrequency ( selectorString As String, value As Double ) As Integer
Parameters
- selectorString
- Type: SystemString
Specifies the segment number.
Example: "segment0".
You can use the BuildSegmentString(String, Int32) method to build the selector string. - value
- Type: SystemDouble
Specifies the expected carrier frequency of the RF signal that needs to be acquired. This value is expressed in Hz. The signal analyzer tunes to this frequency.
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
CenterFrequency
attribute.The default value of this method is hardware dependent.