Ankündigung

Einklappen
Keine Ankündigung bisher.

HS Visu: variable text display

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

    #16
    Zitat von MatthiasS Beitrag anzeigen
    I think, it is generally not possible to make a reference like that.
    Hi Matthias,
    Thank you very much for taking the time to reply and help a poor saoul.
    I've only written a couple of logic modules, but I'm a bit desperate on this one. This script language is supposed to be Python, so I've checked python.org (yes, I RTFM) and the syntax I use seems to be legal (confirmed by a Python specialist). I've tried several syntax variants up to no available, but now I'm forced to give up , as nothing comes out from this logic module.
    btw; Is there a way to check the contents of variables ? a kind of real-time debug mode ? I'm not asking for a step-by-step debug but some kind of checkpoint. The Debug list doesn't tell much, and when it is run, it's already too late.

    Zitat von MatthiasS Beitrag anzeigen
    If you have a look at this original DACOM logic module, you will see, how they do a similar problem:
    I've read many of the existing modules, but I was focused on my index problem, so I've overlooked this one. Thank you.
    If I understand well, the one-line indirect indexing command is replaced by a series of "If".
    OK, fair enough. I should have thought about this as well

    Still the only forum member in France (according to the Google map).

    Kommentar


      #17
      Zitat von Warichet Beitrag anzeigen
      btw; Is there a way to check the contents of variables ?
      What I do in my modules: I always use a text variable to display internal values.

      Example: Beschattung1


      #statustext
      5012|0|""|"'Ak:' + str(int(EN[8])) + ' sw:' + str(int(EN[7]))+ ' iF:' + str(int(SN[1])) + ' B:' + str(AN[4]) + ' Zy:' + str(int(AN[6]))"|""|7|0|0|0
      Gruß Matthias
      EIB übersetzt meine Frau mit "Ehepaar Ist Beschäftigt"
      - PN nur für PERSÖNLICHES!

      Kommentar

      Lädt...
      X