NI-DAQmx .NET Framework 4.5 API Reference

RangeMapScale Constructor

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

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

Syntax

public RangeMapScale(
	string name,
	double prescaledMinimum,
	double prescaledMaximum,
	double scaledMinimum,
	double scaledMaximum
)
Public Sub New ( 
	name As String,
	prescaledMinimum As Double,
	prescaledMaximum As Double,
	scaledMinimum As Double,
	scaledMaximum As Double
)

Parameters

name
Type: SystemString
The name of the custom scale for later use, such as when you create a virtual channel.
prescaledMinimum
Type: SystemDouble
The smallest value in the range of prescaled values.
prescaledMaximum
Type: SystemDouble
The largest value in the range of prescaled values.
scaledMinimum
Type: SystemDouble
The smallest value in the range of scaled values.
scaledMaximum
Type: SystemDouble
The largest value in the range of scaled values.

Exceptions

ExceptionCondition
DaqExceptionThe NI-DAQmx driver returned an error.

See Also