bitfields – text parser

an example how to use the text parser and a couple of other actors to retrieve bit values out of a decimal value

used to decode a response showing the installed modules of an analog way seamless switcher

the logical calculators are deconstructing (filtering with a & function and bit shifting) the 16bit value into two bytes  the text formatter is forming the equivalent ascii codes which are finally processed by the text parser

giving the value directly (through a number to text actor) into the text parser ends in errors as  each digit of the value is transformed into the proper ascii character and the relation is lost.

for example

a value of 443 is represented by the hex 01 BB, transformed through the number to text actor gives  a  hex 34 34 33

bitwise textparser

and the izzy patch bitfields_decoding

more on isadora manual  / page 189