Coerce To Type function

From LabVIEW Wiki
Jump to: navigation, search
Object information
Owning palette(s) Conversion palette
Type Function
Requires Basic Development Environment
Icon Conversion Palette - Coerce To Type.png

The Coerce To Type function converts the input data to a compatible data type while preserving the data value. Unlike the Type Cast function, this function does not reinterpret the input data.

Use this function in the following cases:

  • To eliminate a coercion dot
  • To convert data without a type definition to a compatible type definition or vice versa
  • To rename data on the wire, such as a user event refnum

Usage

History

Version Change(s)
LabVIEW 2018 More info to come.

See Also

External Links