Facility Control

 View Only
  • 1.  Dashboard to Xpression keyboard shortcut (Control Timer)

    Posted 09-04-2018 07:15
    Hello everyboby.

    We want to use Xpression for countup timer for Political debate. It works perfectly but I would like to create a Dashboard User Panel to control that configuration. Actually to activate the Timer 1, i have to push "ctrl+1". For Timer 2 "ctrl+2" To stop "ctrl+0" directlly on the Xpression keyboard but i prefer use another computer with dashboard to control the timer. How can I configure a button in dashboard to send "ctrl+1" to Xpression ?

    Thanks for your help


  • 2.  RE: Dashboard to Xpression keyboard shortcut (Control Timer)

    Posted 09-04-2018 10:51
    You cant really send just "ctrl+1" to Xpression. What you can send however, is GPI signals.
    The way you do this, is you have to set up some extra keyboard/GPI shortcuts in order to control your timer through script.
    I was actually doing this the other day teaching my students how to do this... [LIST=1]
  • Set up your GPI board in Xpression (Edit -> Hardware Setup -> GPI Boards), you need a Smart GPI/RossTalk set up here on TCP port (default port: 7788)
  • Set up your timer/widget (you allready have this one).
  • Go into Keyboard / GPI Mapping (Edit -> Keyboard / GPI Mapping), and create a new Current Keyboard Map (at the top, you cannot edit the default one).
  • Now on the right hand side, drag in the "+ Scripting" to the top of your list under "Project Shortcuts". Actually, pull in 3 of them under "Quick Menu" and name them "start clock", "stop clock" and "reset clock".

    Now under the "GPI" collumn, you set up your GPI input, pick the GPI from your setup earlier, and a unique GPI number to trigger the 3 different scripts. GPI must be unique (supports up to 64 unique ones).

    If you select the "Start Clock" script now, and click the button "Edit Script Action", you get a box where you can enter your Xpression Script to run whenever this trigger is recieved.

    To run a timer, the script is as follows:
    [QUOTE]dim timer as xpClockTimerWidget
    engine.GetWidgetByName("GameTime", timer)
    timer.start

    To stop a timer:
    [QUOTE]dim timer as xpClockTimerWidget
    engine.GetWidgetByName("GameTime", timer)
    timer.stop

    To reset a timer:
    [QUOTE]dim timer as xpClockTimerWidget
    engine.GetWidgetByName("GameTime", timer)
    timer.reset

    Remember to hit the "compile" button (lightning) in order to compile and check your script :)

    [I]Note: The "GameTime" is the name of my widget, so edit this into what your widget is called.[/I]
  • Now, in DashBoard, set up 3 buttons (start, stop & reset) with tasks to send the corresponding RossTalk GPI triggers, and this should work!
  • And as you now may understand, you can control different widgets within Xpression through simply changing the "GameTime" of the scripts above.
    Good luck!
    #DashBoard


  • 3.  RE: Dashboard to Xpression keyboard shortcut (Control Timer)

    Posted 09-10-2018 07:09
    Hello astalsberg thanks you it works perfectly.
    #DashBoard


  • 4.  RE: Dashboard to Xpression keyboard shortcut (Control Timer)

    Posted 09-10-2018 09:05
    It is even easier is to create your timer in Dashboard and then stream that data to a normal text object in XPression (no widgets needed). It takes a bit of time to build, but once it's built you can use it for all sorts of applications. Let me know if you'd like a sample.
    #DashBoard


  • 5.  RE: Dashboard to Xpression keyboard shortcut (Control Timer)

    Posted 06-19-2019 16:53

    Hello Ilana,

    I would like an example of what you said above! We are trying to control timers for instructors we have on our virtual sets. We have trouble changing widgets (timers / counters) because we have to specifically press the right commands on the keyboard. If we can use dashboard to control changing the time or number in our widgets even to preset amounts it would extremely help us!

     

    Thanks


    #DashBoard


  • 6.  RE: Dashboard to Xpression keyboard shortcut (Control Timer)

    Posted 06-22-2019 11:04

    Hi Stephen

    Sure, here you go.  gograhwkza@129.232.138.36/public_html/wp-content/downloads/ClockSample.grid" target="_blank" rel="nofollow noreferrer">ftp://gograhwkza@129.232.138.36/public_html/wp-content/downloads/ClockSample.grid 
    (Just click "Cancel" when it asks for a username and password. It should still give you access. If not, send me your email address and I'll just email the file to you.

    This is an integrated dashboard panel. If you need one that writes to a separate xml file, let me know.

    I hope it helps you. If you need me to build the panel for you and help to get it running, we can do that as well. Please let me know once you have it so that I can remove it from the server.

    Good luck!

    Ilana

     


    #DashBoard


  • 7.  RE: Dashboard to Xpression keyboard shortcut (Control Timer)

    Posted 11-06-2019 04:16

    Hello Ilana,

    can you help me create a timer in Dashboard and then stream that data to a normal text object in XPression ?

    Or can you send me your ClockSample.grid ? The link above doesn't work anymore.

    Thanks.

     

    Patrick.


    #DashBoard