Gets the recommended acquisition span for spectral acquisition, 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 GetRecommendedSpectralAcquisitionSpan(string channelName, out double value)

Remarks

This method gets the value of RecommendedSpectralAcquisitionSpan 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 acquisition span for spectral acquisition, in Hz.

Returns

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