RDM graphical represetation

e:cue Forum Foren English Discussion Forums e:script Macro Language (E) RDM graphical represetation

Ansicht von 1 Antwort-Thema
  • Autor
    Beiträge
    • #218970
      raccoonpacific
      Teilnehmer

      Hi there,

      In RDM window, we could find a little dot that is representing the status of that fixture, show it is refreshing data, online line or off line, Can we get that spot show in ACTION PAD with script???

    • #226545
      bkruse
      Teilnehmer

      Hi,

      the Action Pad contains “AutoText” to put dynamic information/text (including RDM data) on items.
      The refreshing data is unfortunately not part of this autotext, but there should be a way through a script.
      The needed command is RdmDeviceIsComplete()
      Below should give you an idea how to check:

      int deviceList = CreateRdmDeviceList();
      string deviceId = GetRdmDeviceId(deviceList, 0);
      int current = RdmDeviceIsComplete(deviceId); // returns 1=complete, 0 otherwise
      int button = ActionPadGetItemMemberCode(“2007”);
      if (current == 1)
      {
      ActionPadSetItemText(button, “Device complete.”);
      }
      else
      {
      ActionPadSetItemText(button, “Still fetching some values…”);
      }

      Hope that helps,
      Björn

Ansicht von 1 Antwort-Thema
  • Du musst angemeldet sein, um auf dieses Thema antworten zu können.