NI-DAQmx .NET Framework 4.0 API Reference

Table of Contents

PolynomialScale Constructor (String, Double[], Double[])

  • Updated2023-02-21
  • 1 minute(s) read
PolynomialScale Constructor (String, Double[], Double[])
Creates a new instance of the PolynomialScale class with the specified forward and reverse coefficients.

Namespace:  NationalInstruments.DAQmx
Assembly:  NationalInstruments.DAQmx (in NationalInstruments.DAQmx.dll) Version: 20.7.40.49302

Syntax

public PolynomialScale(
	string name,
	double[] forwardCoefficients,
	double[] reverseCoefficients
)
Public Sub New ( 
	name As String,
	forwardCoefficients As Double(),
	reverseCoefficients As Double()
)

Parameters

name
Type: SystemString
The name of the custom scale for later use, such as when you create a virtual channel.
forwardCoefficients
Type: SystemDouble
The array of the forward coefficients of the polynomial. Each element of the array corresponds to a term of the equation. For example, if index three of the array is 9, the fourth term of the equation is 9x3.
reverseCoefficients
Type: SystemDouble
The array of the reverse coefficients of the polynomial. Each element of the array corresponds to a term of the equation. For example, if index three of the array is 9, the fourth term of the equation is 9y3.

Exceptions

ExceptionCondition
DaqExceptionThe NI-DAQmx driver returned an error.

See Also

Log in to get a better experience