Facility Control

 View Only

Listener and Datalynq Server

  • 1.  Listener and Datalynq Server

    Posted 06-28-2022 13:14
    I have an issue that is probably because I likely do not fully understand all aspects of creating a listener.

    I have Xpression setup to populate a graphic through Datalynq server, which we have configured to Port 7789, when a message is sent. This part works great. No problem. This message is the only thing going through Datalynq.

    I want to create a listener that will monitor the Datalynq server so I can also execute a Custom Control in Dashboard when a message comes through to that graphic. So far I have had no luck getting a listener to respond. I know how to program the custom control activation from the script as I've done other scripts for other purposes that do this. But this will be the first one relying on a listener to toggle it. I've been testing with debug code to see if the listener is responding. I've tried it with autostart and without, using the button to toggle the listener on/off.  It says delimiter is required, so I've tried various delimiter types, but still no success.  

    So far I get nothing. Please tell me what I might be doing wrong here.

    <listener autostart="false" buttontype="toggle" connecthost="10.201.150.157" connectport="7789" delimiter="1" delimitertype="varlen" height="138" left="0" name="Child Alert Listener" top="0" width="157">
           <task tasktype="ogscript">ogscript.debug('Listener successfully captured');</task>
    </listener>

    ------------------------------
    Marty Hill
    OAK HILLS CHURCH
    ------------------------------