NI-DAQmx .NET Framework 4.0 API Reference

Table of Contents

RangeMapScale Class

  • Updated2023-02-21
  • 4 minute(s) read
RangeMapScale Class
Encapsulates a custom scale that scales values proportionally from a range of prescaled values to a range of scaled values.

Inheritance Hierarchy

SystemObject
  SystemMarshalByRefObject
    NationalInstruments.DAQmxScale
      NationalInstruments.DAQmxRangeMapScale

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

Syntax

public class RangeMapScale : Scale
Public Class RangeMapScale
	Inherits Scale

The RangeMapScale type exposes the following members.

Constructors

  NameDescription
Public methodRangeMapScale
Creates a new instance of the RangeMapScale class with the prescaled minimum and maximum values and the scaled minimum and maximum values.
Top

Properties

  NameDescription
Public propertyDescription
Specifies a description for the scale.
(Inherited from Scale.)
Public propertyName
Gets the name of the scale.
(Inherited from Scale.)
Public propertyPreScaledMax
Specifies the largest value in the range of pre-scaled values. NI-DAQmx maps this value to ScaledMax.
Public propertyPreScaledMin
Specifies the smallest value in the range of pre-scaled values. NI-DAQmx maps this value to ScaledMin.
Public propertyPreScaledUnits
Specifies the units of the values that you want to scale.
(Inherited from Scale.)
Public propertyScaledMax
Specifies the largest value in the range of scaled values. NI-DAQmx maps this value to PreScaledMax. Reads coerce samples that are larger than this value to match this value. Writes generate errors for samples that are larger than this value.
Public propertyScaledMin
Specifies the smallest value in the range of scaled values. NI-DAQmx maps this value to PreScaledMin. Reads coerce samples that are smaller than this value to match this value. Writes generate errors for samples that are smaller than this value.
Public propertyScaledUnits
Specifies the units to use for scaled values. You can use an arbitrary string.
(Inherited from Scale.)
Public propertyType
Gets the type of scale.
(Inherited from Scale.)
Top

Methods

  NameDescription
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public methodDispose
Releases all resources used by Scale.
(Inherited from Scale.)
Protected methodDispose(Boolean)
Releases the managed and unmanaged resources used by Scale or optionally releases only the unmanaged resources.
(Inherited from Scale.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodMemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Public methodToString
Returns a string representation of the object.
(Inherited from Scale.)
Top

Remarks

Tip Tip
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.

See Also

Log in to get a better experience