Graphics

 View Only
  • 1.  Starting a stopping time widget based on datalinq source

    Posted 04-18-2017 16:37
    We have a promotion where we use a one minute countdown. Currently I use the widget clock timer, and have the operator start and stop. Trying to make this a little easier on my operators, Is there a way to sync that clock to start and stop when its on air with the Daktronics datalinq value of the Clock Status? So start when value is empty and stop when value is populated.


  • 2.  RE: Starting a stopping time widget based on datalinq source

    Posted 04-18-2017 17:02

    Hi
    Try this:
    Add a textbox to your scene that looks at the datalinq clock status - turn its visibility off once you're happy it works.


    Then add this script to the OnSetText of that text box


    dim widget as xpClockTimerWidget

    engine.GetWidgetByName("ClockTimer1", widget) ' select case text
    case "1"
    widget.start
    case "2"
    widget.stop
    case "3"
    widget.reset

    case else
    widget.stop
    end select



    Change the 1,2,3 in the select statment to whatever the Daktronics Clock Status should be (I just made up 1,2,3). You say the clock status is empty when it starts, so change the "1" to "", remove the "2" and "3" options and keep the case else. If there is a way to get at the Daktronics clock status so that the widget follows the start, stop, reset that'd be ideal.
    Better still, if you can get at the actual Daktronics countdown clock value, just datalinq to that instead and don't use a widget. That'd avoid any differences between a widget clock and the daktronics clock.

    Simon


    #XPression


  • 3.  RE: Starting a stopping time widget based on datalinq source

    Posted 04-18-2017 18:22
    I'll play around with this. The problem is we may be at like 17:45 of the 2nd period, but I need a hard 1:00 countdown that would end at 16:45 of the period.
    #XPression


  • 4.  RE: Starting a stopping time widget based on datalinq source

    Posted 04-19-2017 16:42
    could you have two text fields with timers attached to them where the game clock goes zero opacity while the other timer is counting down and at zero the opacity is set back to 100?

    #XPression


  • 5.  RE: Starting a stopping time widget based on datalinq source

    Posted 04-19-2017 17:43
    Simon that worked thanks!
    #XPression