Ankündigung

Einklappen
Keine Ankündigung bisher.

How to display nicely formatted text ?

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

    HS/FS How to display nicely formatted text ?

    Hi,

    Context: central heating system Viessmann Vitola 200 and Vitocom 300.
    When there is a problem in the system, I can display the error message in the Visu, but then, I've to catch the manual and look-up the error code.

    How can I display nicely formatted text (2 pages) in the Visu ?

    I though about:
    - putting everything in a 14Byte Text, but it's not nicely formatted
    - writing a html page and let the HS access it with xxAPI, a bit overkill
    - build an archive and display it ...

    I was thinking about a table formatted text:
    first column: error code
    second column: the description

    What would be the best way to achieve a nice result ?

    #2
    Wenn du die Fehlermeldung über eine Webabfrage holst, kannst du die Fehlertexte in eine Auswahlliste eingeben. Dann wird der Fehler immer als Klartext ausgegeben.
    Angehängte Dateien

    Kommentar


      #3
      For "2 pages" of text? And what about sketches, tables, diagrams?

      I made a screenshot from every page in the manual and put it in a (big) dynamic symbol. I can now switch between the pages quite fast.
      Gruß Matthias
      EIB übersetzt meine Frau mit "Ehepaar Ist Beschäftigt"
      - PN nur für PERSÖNLICHES!

      Kommentar


        #4
        Zitat von vento66 Beitrag anzeigen
        Wenn du die Fehlermeldung über eine Webabfrage holst
        no, I get it from the Vitocon 200 as an EIS10, already packed in a GA.
        Zitat von vento66 Beitrag anzeigen
        kannst du die Fehlertexte in eine Auswahlliste eingeben. Dann wird der Fehler immer als Klartext ausgegeben.
        Great idea
        I should have known better (as I've already used this system for the weather forecast). This implies a bit more work, as I've to cut&paste the description text for each&every error message (as opposed to display a raw page with all the messages and let the user do the manual look-up).

        Thank you.

        Zitat von MatthiasS Beitrag anzeigen
        For "2 pages" of text? And what about sketches, tables, diagrams?
        Nothing else than plain text, in a table format (4 columns)
        Zitat von MatthiasS Beitrag anzeigen
        I made a screenshot from every page in the manual and put it in a (big) dynamic symbol.
        Sounds good, but you lost me
        Can you elaborate a bit, please ? maybe a small example ?

        Thanks

        Kommentar


          #5
          Zitat von vento66 Beitrag anzeigen
          Wenn du die Fehlermeldung über eine Webabfrage holst
          I realize this suggestions works only in case of a Webabfrage.

          I could mimic this behaviour by writing a Baustein with as many entries as there are error codes, but ... with around 50 entries looks not ideal.

          I though about an archive, like the Buddy list, which is nicely displayed in table form, but I've no idea about how to manually create such a list.

          Any other hint ?

          Kommentar


            #6
            Hast du die Möglichkeit die Fehlercodes in ein HTML Dokument zu speichern? Wenn ein Fehlercode auf der GA ankommt, eine Webabfrage auf deinen Server starten, die den Klartext ausliest.


            Sent from my iPhone using Tapatalk

            Kommentar


              #7
              Zitat von vento66 Beitrag anzeigen
              Hast du die Möglichkeit die Fehlercodes in ein HTML Dokument zu speichern? Wenn ein Fehlercode auf der GA ankommt, eine Webabfrage auf deinen Server starten, die den Klartext ausliest
              Yes. I thought about it for a while, but it has some implications.
              The webpage has to be hosted on some web server, that is an extra point of failure. It would be fine if the page could be hosted on the HS itself, but I guess that's not possible ?

              What about the idea of building an archive and display it ? sounds crazy ?
              The archive could be setup as 3 columns: 1 for the error code, 1 for the description, 1 for the action.
              My alternative has the inconvenience that the user must look-up the error code himself and then check the table, based on the error code.
              Your alternative displays only the relevant single line.

              Any idea about how to manually build an archive, I mean building is no problem, but filling it with data.

              Thank you for the hint.

              Kommentar


                #8
                Hello,

                Anyone knows the internal structure of an archive ?
                If yes, is it possible to fill it manually ? (kind of static archive, but easy to display)

                Kommentar


                  #9
                  No, impossible to access.

                  The only way: Scrollist from NilsS
                  Gruß Matthias
                  EIB übersetzt meine Frau mit "Ehepaar Ist Beschäftigt"
                  - PN nur für PERSÖNLICHES!

                  Kommentar


                    #10
                    Zitat von MatthiasS Beitrag anzeigen
                    No, impossible to access
                    Too bad.
                    I thought about creating the archive normally, i.e. defining 3 columns and associating 3 GAs. Then design a Visu page with 3 input fields to capture the input and fill the archive.
                    Would that be feasable ?

                    Zitat von MatthiasS Beitrag anzeigen
                    The only way: Scrollist from NilsS
                    I missed that one . Is it a Baustein ? didn't find it.

                    Kommentar


                      #11
                      Part 1 is feasable. But only with numbers, no text.

                      https://knx-user-forum.de/downloads.php?do=file&id=298
                      and
                      Textarchive:
                      https://knx-user-forum.de/downloads.php?do=file&id=321
                      Gruß Matthias
                      EIB übersetzt meine Frau mit "Ehepaar Ist Beschäftigt"
                      - PN nur für PERSÖNLICHES!

                      Kommentar


                        #12
                        Zitat von vento66 Beitrag anzeigen
                        Wenn du die Fehlermeldung über eine Webabfrage holst, kannst du die Fehlertexte in eine Auswahlliste eingeben.
                        OK
                        I've typed the 6 pages error codes of the manual into an XML file. The file is avalable on the NAS hosted web. An item looks like this:
                        <error>
                        <defaut>10</defaut>
                        <comport>Fonctionne selon une température extérieure de 0°C</comport>
                        <origine>Court-circuit sonde extérieure</origine>
                        <mesure>Contrôler la sonde extérieure</mesure>
                        </error>
                        So, given a specific error code, i.e. 10(hex) I want to display the 3 lines.

                        What would be the best way to display the related message lines
                        "comport"
                        "origine"
                        "mesure"
                        knowing that the index is the field "defaut" (2 hex digits)

                        Can I do it with the Auswhalliste or do I need a Baustein ?

                        Kommentar


                          #13
                          Mach eine Webabfrage nach dem Errorcode, und zerlege das XML mit dem XML2Text Baustein von Nils.


                          Sent from my iPhone using Tapatalk

                          Kommentar


                            #14
                            Zitat von vento66 Beitrag anzeigen
                            Mach eine Webabfrage nach dem Errorcode, und zerlege das XML mit dem XML2Text Baustein von Nils.
                            I understand I've to make a Webabfrage based on the Errorcode, OK, no problem.
                            I've downloaded the XML2Text Baustein but don't understand the relationship betwen the Webabfrage, the Auswhlliste and the Baustein.

                            Can you elaborate a bit, please ?

                            Thanks

                            Kommentar


                              #15
                              Hi,

                              I've converted the xml file to a html table and added a button in the Visu to call the web page (hosted on the NAS) with xxAPI.
                              KISS
                              Angehängte Dateien

                              Kommentar

                              Lädt...
                              X