Ankündigung

Einklappen
Keine Ankündigung bisher.

What is the best way to display a detailed status ?

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    What is the best way to display a detailed status ?

    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.

    #2
    Easiest way:

    - use a 1byte to 8-bit converter
    - there is logic module from bytefactory, called "conditional text"
    - use it twice
    - define text tags for every bit (0-3) and 4 to 7
    - you will get one 14byte text for 0 to 3
    - and one for 4 to 7

    If you connect the two modules ("Ergebnis" to "Vorheriger Text"), you will have in the end one dynamic text.


    http://www.kuehn-clan.de/eib/homeser...BedingungsText
    Gruß Matthias
    EIB übersetzt meine Frau mit "Ehepaar Ist Beschäftigt"
    - PN nur für PERSÖNLICHES!

    Kommentar


      #3
      Hi Matthias,

      Thank you for the quick reply

      Zitat von MatthiasS Beitrag anzeigen
      If you connect the two modules ("Ergebnis" to "Vorheriger Text"), you will have in the end one dynamic text.
      I didn't say it, but I want to have the several status text, one above the other (instead of one long sentence), close to the icon. But I guess I can do it with the suggested module.

      Kommentar

      Lädt...
      X