PolynomialScale Class
- Updated2023-02-21
- 4 minute(s) read
Encapsulates a custom scale that scales values by using an nth-order polynomial equation.
Inheritance Hierarchy
SystemObject
SystemMarshalByRefObject
NationalInstruments.DAQmxScale
NationalInstruments.DAQmxPolynomialScale
SystemMarshalByRefObject
NationalInstruments.DAQmxScale
NationalInstruments.DAQmxPolynomialScale
Namespace: NationalInstruments.DAQmx
Assembly: NationalInstruments.DAQmx (in NationalInstruments.DAQmx.dll) Version: 20.7.45.49302
Syntax
public class PolynomialScale : Scale
Public Class PolynomialScale Inherits Scale
The PolynomialScale type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| PolynomialScale(String, Double, Double) | Creates a new instance of the PolynomialScale class with the specified forward and reverse coefficients. | |
| PolynomialScale(String, PolynomialDirection, Double, Double, Double) | Creates a new instance of the PolynomialScale class with the specified forward or reverse coefficients and automatically computes the other set of coefficients with the same order as the provided coefficients, using 1000 points in the specified range.
| |
| PolynomialScale(String, PolynomialDirection, Double, Double, Double, Int32, Int32) | Creates a new instance of the PolynomialScale class with the specified forward or reverse coefficients and automatically computes the other set of coefficients.
|
Properties
| Name | Description | |
|---|---|---|
| Description | Specifies a description for the scale. (Inherited from Scale.) | |
| ForwardCoefficients | Specifies an array of coefficients for the polynomial that converts pre-scaled values to scaled values. 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 9x^3. | |
| Name | Gets the name of the scale. (Inherited from Scale.) | |
| PreScaledUnits | Specifies the units of the values that you want to scale. (Inherited from Scale.) | |
| ReverseCoefficients | Specifies an array of coefficients for the polynomial that converts scaled values to pre-scaled values. 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 9y^3. | |
| ScaledUnits | Specifies the units to use for scaled values. You can use an arbitrary string. (Inherited from Scale.) | |
| Type | Gets the type of scale. (Inherited from Scale.) |
Methods
| Name | Description | |
|---|---|---|
| CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) | |
| Dispose | Releases all resources used by Scale. (Inherited from Scale.) | |
| Dispose(Boolean) |
Releases the managed and unmanaged resources used by Scale or optionally releases only the unmanaged resources.
(Inherited from Scale.) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) | |
| ToString | Returns a string representation of the object. (Inherited from Scale.) |
Remarks
| Example applications are located in the Public Documents\National Instruments\NI-DAQ\Examples\DotNET4.x directory or in the Start menu at National InstrumentsNI-DAQmxNI-DAQmx Examples. |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.