RFmx Instr DotNET

Table of Contents

RFmxInstrMX.GetRecommendedSpectralAcquisitionSpan Method

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

RFmxInstrMXGetRecommendedSpectralAcquisitionSpan Method

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.

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 GetRecommendedSpectralAcquisitionSpan(
	string channelName,
	out double value
)
Public Function GetRecommendedSpectralAcquisitionSpan ( 
	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 acquisition span for spectral acquisition, 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 RecommendedSpectralAcquisitionSpan attribute.

See Also

Log in to get a better experience