Facility Control

 View Only
  • 1.  HTTP Async Message

    Posted 21 days ago

    How to display response on Dashboard?

    Command is: http://10.10.40.52/cgi-bin/aw_cam?cmd=XQC:01&res=1

    Example of response: XQC : 0 : 11

    Question is how to make auto refresh command and display response like label type.

    Thanks for response!



    ------------------------------
    Miguel San Sebastian
    ------------------------------


  • 2.  RE: HTTP Async Message

    Posted 18 days ago

    Here is a simple method in Dashboard to routinely trigger functions using the clock:

    <abs contexttype="opengear" gridsize="20" id="_top" keepalive="false" style="">
        <timer id="clock" pattern="HH:mm:ss" rate="5000">
            <timertask tasktype="ogscript">ogscript.debug("Place the function() here to trigger every 5 seconds");</timertask>
        </timer>
        <abs height="140" left="20" style="bdr#buttonbg;bdr:thick;" top="20" width="300">
            <table bottom="5" left="5" right="5" top="5">
                <tr/>
                <tr>
                    <label colspan="1" fill="both" id="label" name="&lt;html&gt;&lt;center&gt;Access &quot;Edit Mode&quot; Select Timers and &lt;br/&gt;double-click task to enter function()&lt;/center&gt;&lt;/html&gt;" rowspan="1" style="txt-align:center;" weightx="1.0" weighty="1.0"/>
                </tr>
            </table>
        </abs>
    </abs>
    



    ------------------------------
    Richard Crutwell
    Ross Video UK
    ------------------------------