Facility Control

 View Only
  • 1.  triggering buttons from keyboard shortcuts

    Posted 06-09-2017 03:14
    Hi, I have some buttons setup in a custom panel that issue Ross talk commands to external devices. I would like to trigger these buttons from keyboard shortcuts. Any idea how I'd set that up?
    thanks


  • 2.  RE: triggering buttons from keyboard shortcuts

    Posted 06-09-2017 13:34
    Hi James,

    Any button can be triggered with a 'virtual GPI'.

    Really it's just two steps:
    -Attach a 'virtual GPI' to a key combo.
    -Attach that virtual GPI to any button you want to run.

    Step 1: Attach a virtual GPI to a key combo
    Any key combination in DashBoard can be made to send virtual GPIs.
    So, in the main application goto 'window\preferences' (from the menu bar at the top).
    Choose 'Keyboard Shortcuts'.
    Select 'New Command'
    Now choose 'Fire GPI Trigger'.
    Select the Shortcut Field and type whatever Key or Key combo you are looking for.
    Hit the next button.
    In the 'GPI Trigger' type the text you want to send, I'm going to type '100' (just the numbers, not the quotes...)
    The 'State' field can be left blank, this is for more features on virtual GPIs that you don't need for this example.


    Step 2: attach that virtual GPI to your button.
    In edit mode for a button you will see in the button attributes tab a field called 'Trigger ID'.
    You can type anything here, but, usually just a number, so as an example, I'm going to type in '100' to match my virtual GPI



    You are now done!

    Troy




    #DashBoard


  • 3.  RE: triggering buttons from keyboard shortcuts

    Posted 10-14-2022 11:39
    Is it possible to program a single GPI to a toggle button to start and stop a game clock?

    I have tested that the GPI instructions work for a single press button. But I cannot figure out how to adapt to a toggle button.

    Thanks,
    Shawn

    ------------------------------
    Shawn Callaway
    ------------------------------