Creates a custom scale that scales values proportionally from a range of pre-scaled values to a range of scaled values.


icon

Inputs/Outputs

  • cdbl.png pre-scaled maximum

    pre-scaled maximum is the largest value in the range of pre-scaled values. NI-DAQmx maps this value to scaled maximum.

  • cdbl.png pre-scaled minimum

    pre-scaled minimum is the smallest value in the range of pre-scaled values. NI-DAQmx maps this value to scaled minimum.

  • cstr.png name

    name identifies the custom scale for later use, such as with the DAQmx Create Virtual Channel VI

  • cdbl.png scaled minimum

    scaled minimum is the smallest value in the range of scaled values. NI-DAQmx maps this value to pre-scaled minimum. Read operations clip samples that are smaller than this value. Write operations generate errors for samples that are smaller than this value.

  • cdbl.png scaled maximum

    scaled maximum is the largest value in the range of scaled values. NI-DAQmx maps this value to pre-scaled maximum. Read operations clip samples that are larger than this value. Write operations generate errors for samples that are larger than this value.

  • cerrcodeclst.png error in

    error in describes error conditions that occur before this VI or function runs.

    The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. If an error occurs while this VI or function runs, the VI or function runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.

  • ci32.png pre-scaled units

    pre-scaled units is the units of the values to scale.

    Amps (10342)

    Amperes.

    bar (15880)

    Bar.

    deg C (10143)

    Degrees Celsius.

    deg F (10144)

    Degrees Fahrenheit.

    deg R (10145)

    Degrees Rankine.

    Degrees (10146)

    Degrees.

    From TEDS (12516)

    Units defined by TEDS information associated with the channel.

    g (10186)

    G. 1 g is approximately equal to 9.81 m/s/s.

    Hz (10373)

    Hertz.

    Inches (10379)

    Inches.

    Kelvins (10325)

    Kelvins.

    kgf (15877)

    Kilograms-force

    lb-ft (15884)

    Pound-feet.

    lb-in (15883)

    Pound-inches.

    m/s^2 (12470)

    Meters per second per second.

    Meters (10219)

    Meters.

    mVolts/Volt (15897)

    Millivolts per volt.

    Nm (15881)

    Newton meters.

    Newtons (15875)

    Newtons.

    Ohms (10384)

    Ohms.

    oz-in (15882)

    Ounce-inches.

    Pascals (10081)

    Pascals.

    Pounds (15876)

    Pounds.

    psi (15879)

    Pounds per square inch.

    Radians (10273)

    Radians.

    Seconds (10364)

    Seconds.

    Strain (10299)

    Strain.

    Volts/Volt (15896)

    Volts per volt.

    Volts (10348)

    Volts.

  • cstr.png scaled units

    scaled units is the units to use for the scaled value. You can use an arbitrary string. LabVIEW uses the units to label a graph or chart.

  • idaqmxscale.png scale out

    scale out is a reference to the custom scale this VI creates.

  • ierrcodeclst.png error out

    error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, error out describes the error status that this VI or function produces.

    Right-click the error out indicator on the front panel and select Explain Error from the shortcut menu for more information about the error.