RFmx Instr DotNET

Table of Contents

RFmxInstrMX.GetRecommendedNumberOfRecords Method

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

RFmxInstrMXGetRecommendedNumberOfRecords Method

Gets the recommended number of records to acquire to complete measurement averaging.
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 GetRecommendedNumberOfRecords(
	string channelName,
	out int value
)
Public Function GetRecommendedNumberOfRecords ( 
	channelName As String,
	<OutAttribute> ByRef value As Integer
) 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  Int32
Upon return, contains the recommended number of records to acquire to complete measurement averaging.

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 RecommendedNumberOfRecords attribute.

See Also

Log in to get a better experience