Gets the recommended acquisition type for the last committed measurement configuration.
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 GetRecommendedAcquisitionType(string channelName, out RFmxInstrMXRecommendedAcquisitionType value)

Remarks

This method gets the value of RecommendedAcquisitionType 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 RFmxInstrMXRecommendedAcquisitionType

Upon return, contains the recommended acquisition type for the last committed measurement configuration.

Returns

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