Facility Control

 View Only
  • 1.  Key Toggling

    Posted 11-27-2018 19:03
    So I can use Perform Cut to cut video sources and keys on and off, but is there a way to SET it rather than just toggle? Like a conditional that can sense the status of a key?

    For example, I want to create a button that will set up certain video sources into destinations, and then put them on air. However, I want them to be set to ON or OFF rather than toggle it.

    Fake code example: if ME:2:KEY:2 = NotActive then Perform Cut


  • 2.  RE: Key Toggling

    Posted 11-28-2018 08:46
    There is a way.... Not 100% tested and not 100% supported as of yet.
    But I did manage to do this a year ago actually.

    See the post here: https://discussions.rossvideo.com/forum/default-forum-gc1/dashboard-gc43/14657-read-parameter-from-carbonite-switcher
    #DashBoard


  • 3.  RE: Key Toggling

    Posted 11-28-2018 17:44
    Hey, cool! Thanks!
    #DashBoard


  • 4.  RE: Key Toggling

    Posted 11-28-2018 18:25

    You have probably already figured it out from the other other post, but here's a bit more info.

    You can figure out what OID is being used for different UI elements by going into Panel Inspector Mode. You do this by clicking Ctrl-I in a panel. Then you can double click on some UI elements and it will tell you the OID being used for that element. For example, the "Cut" button of ME1" - "Key 1" is backed by 0x992.

    ME1 - Key 2, is backed by 0x996.
    ME1 - Key 3, is backed by 0x99A
    etc.

    "‹So in your ogscript, you can do something like:

    if (params.getValue("0x992", 0) == 1) {
    ogscript.debug("key ME1:K1 is on");
    } else {
    ogscript.debug("key ME1:K1 is off");
    }

    Hopefully that helps.


    #DashBoard


  • 5.  RE: Key Toggling

    Posted 11-28-2018 19:11
    For sure. I already got the conditional working beautifully. Thanks again for the tip. This opens up a LOT of options.
    #DashBoard


  • 6.  RE: Key Toggling

    Posted 12-14-2018 13:01
    Sooo.... This is wierd... I had a sollution for this going. And it still works on one mixer.

    Now I tried setting this up on another mixer. [LIST=1]
  • "‹Went into panel mode
  • Got the info tool (ctrl+i)
  • Double clicked and got the info from the KEY 1 CUT button... OID 0x241F
  • Tried to place that in a button that just takes that value and outputs to debu
  • No matter what I do I get a returned value 0 from that. Even if I manually press the button on the mixer it returns as 0...
    Anyone experienced this before?
    #DashBoard


  • 7.  RE: Key Toggling

    Posted 12-17-2018 16:26
    What ME are you trying to control? What Switcher is it? Which version of Software is the switcher running?

    Also from what DashBoard UI are you trying to access this from?
    #DashBoard