Graphics

 View Only
  • 1.  Scripting Live Datalinq Changes

    Posted 08-29-2014 21:00
    We're broadcasting live sporting events and we have a Datalinq to the games scoreboard that can gives us all kinds of amazing stats for use in graphics, but I've run into a snag. The Datalinq live updates work great if it's just a number or something connected to a text box, but if I have scripting incorporated into the graphic the scripting doesn't update after the graphic has been called up. For example if we were doing a baseball game and the datalinq told us which bases had runners on them and I wrote a script to hi-light said bases on our scorebar they would be hi-lighted when you first bring up the scorebar, but any changes to the base status wont update after that. Any ideas?


  • 2.  RE: Scripting Live Datalinq Changes

    Posted 08-29-2014 21:09
    have you tried using the script on "OnRender" instead of "OnOnline"?

    #XPression


  • 3.  RE: Scripting Live Datalinq Changes

    Posted 08-29-2014 22:18
    Put your script in the "OnSetText" of your Text Objects...

    #XPression


  • 4.  RE: Scripting Live Datalinq Changes

    Posted 08-29-2014 22:37
    OnSetText is the safer way to go. OnRender scripts will run every frame and can cause performance issues if you aren't careful.

    Visual Logic can probably also do what you need and without the need to actually write code.. There is a tutorial in the XPression U section of the website to help get you started if youve never used it.

    #XPression


  • 5.  RE: Scripting Live Datalinq Changes

    Posted 09-05-2014 16:31
    Visual Logic DataLinq function block does not update the "Current Value". I have tried with both a text file and RSS feed. Updates working directly from DataLing to text object in XPression, just not through Visual Logic DataLinq. Running XPression 5.7.3037. Simon Redmile confirmed the same is happening with XPression 5.9 on his machine. We have Live Update on and if we open the DataLinq block and reselect the data, it updates, just not on it's own. Trying to avoid writing a script, loving Visual Logic. :)

    #XPression


  • 6.  RE: Scripting Live Datalinq Changes

    Posted 09-11-2014 18:45
    Sorry I forgot to post back here but the OnSetText worked great. Makes sense to do it that way now that I know how. Can't help you on the Visual Logic stuff Paul I stick to the script writing because it's what I'm use to and crank graphics out faster that way.

    #XPression