RFmx Instr DotNET

Table of Contents

RFmxInstrMX.GetRecommendedCenterFrequency Method

  • Updated2024-07-17
  • 1 minute(s) read
RFmxInstrMX.GetRecommendedCenterFrequency Method

RFmxInstrMXGetRecommendedCenterFrequency Method

Gets the recommended center frequency of the RF signal. This value is expressed in Hz.
This method is supported when
1. RFmxInstrMX(String, String) is called with option string "AnalysisOnly=1".
2. RFmxInstrMX(String, String) is called with option string 'AnalysisOnly=1;MaxNumWfms:n'. Use 'instr(n)' as the selector string to read this method.

Namespace: NationalInstruments.RFmx.InstrMX
Assembly: NationalInstruments.RFmx.InstrMX.Fx40 (in NationalInstruments.RFmx.InstrMX.Fx40.dll) Version: 24.5.0.49285 (24.5.0.49285)

Syntax

public int GetRecommendedCenterFrequency(
	string channelName,
	out double value
)
Public Function GetRecommendedCenterFrequency ( 
	channelName As String,
	<OutAttribute> ByRef value As Double
) As Integer

Parameters

channelName  String
Specifies the port number.
Example: "port0".
You can use the BuildPortString2(String, String, String, Int32) method to build the selector string.
value  Double
Upon return, contains the recommended center frequency of the RF signal. This value is expressed in Hz.

Return Value

Int32
Returns the status code of this method. The status code either indicates success or describes a warning condition.

Remarks

This method gets the value of RecommendedCenterFrequency attribute.

See Also

Log in to get a better experience