Facility Control

 View Only
  • 1.  Dashboard --> dataLinq-----> XPression Issues - I am stymied

    Posted 08-26-2019 12:20

    To further explain my problem, and it is mine. I have a series of screen snaps hoping to explain what I am trying to accomplish. I am showing how it is done in another piece of software (vMIX) but I want to accomplish this using Dashboard and XPression.

    1. The API to the data looks like this:

    https://lscluster.hockeytech.com/feed/index.php?feed=gc&key=fxxxxxxxxxxxxx&client_code=cchl&game_id=4435&lang_code=en&fmt=json&tab=clock

     

    2. The raw JSON data looks like this:

    3. When imported into the dataSource manager it looks like this:

    4.The "shortcut/command" in vMix looks like this:

     

    Using Dashboard to contol vMix the ogscript looks like this:

     

    This then populates the graphic from the data in that row

     

     

    Of course I am now working with Dashboard and XPression and struggling to accomplish this. I can use (successfully) the dataLinq server to import the JSON data but ....

     

    Any suggestions?

     

    Thanks

     

    Whit



  • 2.  RE: Dashboard --> dataLinq-----> XPression Issues - I am stymied

    Posted 08-27-2019 08:12

    Well... I was kinda stuck on the same part you are... And I went a bit deeper down the rabbit hole...

    If I understand you correctly, you're using the JSON DataLinq Source in DataLinq, and you want DashBoard to decide what row is being used to get the information, correct?

    I could not do this back in version 6 of Xpression when I started. I think I might know a way to do this now in version 9, but have yet to be able to test that out. However, as version 9 was recently released, I had to find a way around this to begin with. So...

    Instead of using the JSON DataLinq Source in DataLinq, I built myself the same table as you have in dataSource Manager with the info and all in DashBoard, then built myself a parser in DashBoard using more than one asyncExec in order to keep updating and getting these infos in the background. The parser then updates a table in DashBoard with information. I can grab this info, put the values needed into fields that are then sent to Xpression through the DashBoard datalinq.

    Not sure if this'll help, and definetly not sure if this is best practise, but it was the only way I could get this done back then.
    Still works though!


    #DashBoard


  • 3.  RE: Dashboard --> dataLinq-----> XPression Issues - I am stymied

    Posted 08-28-2019 13:51

    Hi Aleksander

     

    Thank you. This seems like a sound approach. All above my knowledge level but I will see what I can find/do.

     

    If you have any sample(s) you want to share, you can reach me whitprophet2@gmail.com

     

    Thanks

     

    Whit


    #DashBoard


  • 4.  RE: Dashboard --> dataLinq-----> XPression Issues - I am stymied

    Posted 09-04-2019 23:30

    I will get back to you on this one Whit.
    At the moment I am really busy being only two weeks away from season start here, I'm gonna have to leave you hanging for a bit... Sorry about that.

    I would recommend you look up the XML import video in Dashboard U, the JSON import is not that different. And to avoid the same issues I ran into, I would look into using structs in order to create tables where one row is much the same as an object, instead of each collumn being one parameter with matching number of rows to keep the data in "sync" across the collumns.


    #DashBoard