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.

Syntax

Namespace: NationalInstruments.RFmx.InstrMX

public int GetRecommendedCenterFrequency(string channelName, out double value)

Remarks

This method gets the value of RecommendedCenterFrequency attribute.

Parameters

NameTypeDescription
channelNamestring

Specifies the port number.
Example: "port0".
You can use the BuildPortString2(string, string, string, int) method to build the selector string.

valueout double

Upon return, contains the recommended center frequency of the RF signal. This value is expressed in Hz.

Returns

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