ITOI – Transformation of integer and binary numbers

Block SymbolLicensing group: STANDARD
Qt SVG Document Exported by REXYGEN Studio k U0 U1 U2 U3 nk Y0 Y1 Y2 Y3 ITOI

Function Description
The ITOI block transforms the input number k, or the binary number (U3 U2 U1 U0)2, from the set {0,1,2,,15} to the output number nk and its binary representation (Y3 Y2 Y1 Y0)2 from the same set. The transformation is described by the following table

k 0 1 2 15








nk n0 n1 n2 n15

where n0, …, n15 are given by the mapping table target vector fktab. If BINF = off, then the integer input k is active, while for BINF = on the input is defined by the binary inputs (U3 U2 U1 U0)2.

This block propagates the signal quality. More information can be found in the 1.4 section.

Input

k

Integer input of the block

Long (I32)

U0..U3

Binary input (mask)

Bool

Parameter

BINF

Enable the binary selectors  on

Bool

off ..

Disabled (analog selector)

on ...

Enabled (binary selectors)

fktab

Mapping table  [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15]

Byte (U8)

Output

nk

Integer output of the block

Long (I32)

Y0..Y3

Binary output (mask)

Bool

2024 © REX Controls s.r.o., www.rexygen.com