NI-DAQmx .NET Framework 4.5 API Reference

TableScale Constructor

  • Updated2023-02-21
  • 1 minute(s) read
TableScale Constructor
Creates a new instance of the TableScale class with the specified scaled and prescaled values.

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

Syntax

public TableScale(
	string name,
	double[] preScaledValues,
	double[] scaledValues
)
Public Sub New ( 
	name As String,
	preScaledValues As Double(),
	scaledValues As Double()
)

Parameters

name
Type: SystemString
The name of the custom scale for later use, such as when you create a virtual channel.
preScaledValues
Type: SystemDouble
An array of prescaled values that map to the scaled values in scaledValues.
scaledValues
Type: SystemDouble
An array of scaled values that map to the prescaled values in prescaledValues.

Exceptions

ExceptionCondition
DaqExceptionThe NI-DAQmx driver returned an error.

See Also