Facility Control

 View Only
  • 1.  CueServer UDP String to Dashboard Fader

    Posted 02-11-2025 12:19

    Hi!

    I'm trying to send a string from CueServer to Dashboard that will activate a fader.

    I have a fader in dashboard that can control the output of the cueserver playback 1. So its dashboard > Cueserver and it works.

    But now i want the fader to go to 65% when my cue is activated from a cueserver button.

    What would be really amazing is if the playback from cue server change intensity, it will change in real time in dashboard. So its like if the fader from dashboard listen to the cueserver playback. If they could be linked that would be amazing

    Rightnow, im trying to send an ogscript inside cueserver when push a button to the listen port of dashboard. My command is 

    Write "IPADDRESS:7788" "params.setValue ('0x10', 0, 65)" 

    Here is the command from the manual of cueserver to send a string via UDP

    Write "10.0.1.100:59999" "SHOW START" will send the string "SHOW START" via UDP to the IP 10.0.1.100 over port 59999.

    I must say im a little bit lost....

    Thanks



    ------------------------------
    Marc-Antoine Blais
    ------------------------------


  • 2.  RE: CueServer UDP String to Dashboard Fader

    Posted 02-11-2025 22:20

    You can't execute ogscript in this way. You will need to incorporate a listener tag in the Dashboard custom panel where you can then send a custom UDP string. Perhaps you send it INTENSITY 65 and when the listener receives that, it runs a function to then change the fader via the ogscript you shared above.

    Below is an example, and obviously untested.

    <listener autostart="true" delimitertype="newline" listenport="12345">
         <task tasktype="ogscript">if (event.isMessageEvent())
         {
              var rec = event.getBytesAsString().trim();
              var parts = rec.split(' ');
              var cmd = parts[0]; //INTENSITY
              var value = parts[1]; 65
    
              if(cmd === "INTENSITY") {
                   params.setValue ('0x10', 0, val);
              }          
         }
         </task>
    </listener>


    ------------------------------
    Joseph Adams
    Fellowship Church Greenville
    ------------------------------