GetRecommendedCenterFrequency(string, out double)
- Updated2025-10-13
- 1 minute(s) read
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
| Name | Type | Description |
|---|---|---|
| channelName | string | Specifies the port number. |
| value | out 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.