NumericToBitsDemux is a component that converts a numeric value into the binary equivalent. Each bit in the component represents
the binary bit position of the numeric integer (numerics are truncated to whole numbers for the conversion). This component
can express numeric values in bits (up to 32) as well as bytes (up to 4).
This component is not designed to convert negative numbers.
The NumericToBitsDemux component is located in the Util folder of the kitControl palette and has the following properties:
In Numeric
This property displays the value of the numeric that is set. Typically you would link a StatusNumeric output to the In Numeric property of this component. The Status portion of the input is propagated to all of the StatusBoolean outputs and StatusNumeric (byte) outputs.
Bit0 through Bit31
These 32 bits are available for representation of the converted numeric as binaries.
Byte0 through Byte3
These 4 bytes are available for expressing the converted numeric input as bytes.
See also Alphabetical list of kitControl components
Figure 36 shows an example of the NumericToBitsDemux component with a numeric value of 357 linked to the In Numeric property. Note that Bits 0 through 8 are set to the binary representation of this number, as well as Bytes0 and 1.
Copyright © 2000-2016 Tridium Inc. All rights reserved.