Cast Unit Bases Function

Owning Palette: Conversion VIs and Functions

Requires: Base Development System

Changes the base units associated with the input to the base units associated with unit and returns the results at the output terminal.

Caution  Use this function with extreme caution. Because this function works with bases, you must understand the conversion from an arbitrary unit to its bases before you can effectively use this function. This function can change base units, such as changing meters to kilograms.

Details  

 Add to the block diagram  Find on the palette
unit associates input with output results. The default is none, which does not associate any units.
x is a floating-point number with or without a unit.
x returns the same data type and structure as x.

Cast Unit Bases Details

Wiring unit to a constant of units mm is no different than wiring to a constant of units m because the base unit (m) is identical. In most instances, use the Convert Unit function to turn the units feature on or off or to convert between units.