Facility Control

 View Only

Listener to a Parameter Value

  • 1.  Listener to a Parameter Value

    Posted 06-07-2024 12:13

    I am currently building a Floor Director Grid for my SVR countdowns based off my Rundown Control Timers.  Everything is working fine but I want to be able to change my "listener" to listen to a parameter value.  

    The workflow looks like this.

    Custom from Caprica that triggers my parameter 'ovdserver' to toggle between my Primary OVD and my Redundant OVD, then the value of my param be the "listener" for my panel.  I have everything working except changing my "listener" to get it's value from the parameter 'ovdserver.'

    I have tried changing my 'lookup' but to no avail. 

    Advice?

    Below is my Lookup and Listener scripting.

    <meta>
          <lookup id="hosts">
             <entry key="Localhost.port">8760</entry>
             <entry key="Localhost.host">localhost</entry>
          <entry key="ovdserver.port">8760</entry>
             <entry key="ovdserver.host">100.121.28.186</entry>
             <entry key="ovdserver2.port">8760</entry>
             <entry key="ovdserver2.host">100.121.28.187</entry>
          </lookup>
          <listener autostart="true" connecthost="%const['hosts']['ovdserver.host']%" connectport="%const['hosts']['ovdserver.port']%" delimitertype="newline">
             <task tasktype="ogscript">if (event.isConnectEvent())



    ------------------------------
    Tim Carista
    Sr. Production Manager
    NBC
    ------------------------------