kitControl-NumericToBitsDemux

This component converts a numeric value into the binary equivalent. Each bit in the component represents the binary bit position of the numeric integer (the component truncates numerics to whole numbers for the conversion). This component can express numeric values in bits (up to 32) as well as bytes (up to 4).

Note: This component is not designed to convert negative numbers.

NumericToBitsDemux component is located in the Util folder of the kitControl palette.

Figure 1. NumericToBitsDemux properties


PropertyValueDescription
In Numericnumber (defaults to 0.00) and null definitionDisplays the numeric input value. Typically, you would link a StatusNumeric output to the In Numeric property of this component. The component propagates the Status portion of the input to all StatusBoolean and StatusNumeric (byte) outputs.

When null is checked, the corresponding value defines the default when a calculation returns null.

Bit0 through Bit31true or false (default) and null definitionRepresent the converted numeric as binaries.

When null is checked, the corresponding value defines the default when a calculation returns null.

Byte0 through Byte3number (defaults to 0.00) and null definitionExpress the converted numeric input as bytes.

When null is checked, the corresponding value defines the default when a calculation returns null.