Hi,
What would be the best way to segregate bits in a status byte, in order to display a detailed status in the Visu ?
I first started with "dynamic text", but I end up with too many combinations, hence too many definitions, and there is always an unforseen case that comes along.
i.e. 32 for bit 5, 64 for bit 6 plus all the least significant bits
I thought using 8 "AND" to isolate individual bits and display accordingly.
One benefit: no unforseen values can pop-up.
But this would require 8 variables per status byte.
Maybe another method ?
Any recommendation ? or "good practice" hint ?
Thank you.
What would be the best way to segregate bits in a status byte, in order to display a detailed status in the Visu ?
I first started with "dynamic text", but I end up with too many combinations, hence too many definitions, and there is always an unforseen case that comes along.
i.e. 32 for bit 5, 64 for bit 6 plus all the least significant bits
I thought using 8 "AND" to isolate individual bits and display accordingly.
One benefit: no unforseen values can pop-up.
But this would require 8 variables per status byte.
Maybe another method ?
Any recommendation ? or "good practice" hint ?
Thank you.
Kommentar