Facility Control

 View Only
  • 1.  Trigger Carbonite GPO from DashBoard

    Posted 11-13-2022 20:51
    I'm working on a DashBoard panel that I hope will allow me to preset a source and assign that source to another bus on my Carbonite Black Plus and if there is a GPO associated with the source, fire the GPO.

    In the visual logic for a button on my panel, the MLE Preset Source block feeding into the Aux Source block makes the assignment I need.

    Then I need a little if then routine...if the source assigned is Input5 fire GOP2 and so on.

    This visual logic breaks down on firing the GPOs.


    To see if I could fire the GPO another way, I built a button with this visual logic....with a touch wheel to assign the number I wanted to fire and it didn't fire my GPO, but I noticed that it was hitting the Autotrans on a keyer on ME1 the default action for the GPI side of that GPIO...nothing I've dug up got me to the GPO side.



    Is what I want to do even possible? Any ideas how?

    I also want to be able to tie the buttons on my DashBoard panel back to Carbonite Custom Controls, but I need to get the basic parts built first.

    Thanks,
    James.


    ------------------------------
    James Hessler
    WAAY (HEARTLAND MEDIA)
    ------------------------------


  • 2.  RE: Trigger Carbonite GPO from DashBoard

    Posted 11-15-2022 11:49
    Hi James - I have attached some snippets that aren't exactly what you want but should give you what you need to hopefully implement your panel.

    Yes, what you are trying to do is possible but you script needs a few changes:
    1. Each source for a switcher bus uses a value/name pairing for the sources. The value you want to set the source to is the numeric value and not the name. You can use the Param Inspector tool to see which number you should input to get the source you want.  You can use CTRL+i  to go into "inspector mode" and double-click on the parameter you want to see:

    2. Your scripts are currently triggering GPOs for DashBoard itself. You will want to choose the "run GPI action" out of the switcher's API in Visual Logic:

    3. You may find a "switch" block is more useful for the type of action you're trying to do. It allows you to trigger many paths off of a single variable based on its current value (like a bunch of chained "if" statements):

    This shows what the script would look like for my switcher and triggering GPOs for when the Aux bus is set to Input 1, 2, 3, or 4

    <abs contexttype="opengear" keepalive="true">
       <meta>
          <context contexttype="opengear" id="switcher" objectid="PRIMARY_ID_OF_YOUR_SWITCHER_GOES_HERE" subscriptions="false"/>
       </meta>
       <param contextid="switcher" expand="true" height="51" left="203" mid="48124" oid="0xDFF" showlabel="false" top="231" widget="label" width="199">
          <task tasktype="ogscript">
    
    
    /*! block id=1001,1007,1008,1009,1010,1011 !*/
    switch (params.getParam("switcher", '0xDFF', 0).getValue())
    {
    	case 1000:
    		rosstalk.sendMessage("172.16.9.110", 7788, "GPI " + 1);
    		break;
    	case 1001:
    		rosstalk.sendMessage("172.16.9.110", 7788, "GPI " + 2);
    		break;
    	case 1002:
    		rosstalk.sendMessage("172.16.9.110", 7788, "GPI " + 3);
    		break;
    	case 1003:
    		rosstalk.sendMessage("172.16.9.110", 7788, "GPI " + 4);
    		break;
    }
    /*!!
     &lt;block id="1001" type="switch" x="322" y="155" w="268" VALUE="ID:1007" STATEMENT="ID:1008" statementtag_STATEMENT="1000" STATEMENT_0="ID:1009" statementtag_STATEMENT_0="1001" STATEMENT_1="ID:1010" statementtag_STATEMENT_1="1002" STATEMENT_2="ID:1011" statementtag_STATEMENT_2="1003" STATEMENT_3="" /&gt;
    &lt;block id="1007" type="param_switcher&amp;amp;Aux Source (0xDFF)[0]" x="56" y="137" w="243" SET="" /&gt;
    &lt;block id="1008" type="switcher_carbonite_gpi" x="714" y="198" w="243" GPI="1" /&gt;
    &lt;block id="1009" type="switcher_carbonite_gpi" x="731" y="317" w="243" GPI="2" /&gt;
    &lt;block id="1010" type="switcher_carbonite_gpi" x="668" y="424" w="243" GPI="3" /&gt;
    &lt;block id="1011" type="switcher_carbonite_gpi" x="676" y="543" w="243" GPI="4" /&gt;
    !!*/
    /*!!&lt;checksum&gt;5e5830c0b988888775856c7366a586e0&lt;/checksum&gt;!!*/</task>
       </param>
    </abs>
    ​


    ------------------------------
    James Peltzer
    Ross Video
    ------------------------------



  • 3.  RE: Trigger Carbonite GPO from DashBoard

    Posted 11-17-2022 01:25
    Hey James!

    I had wondered about the switch since I've used them heavily in Xpression, and had found the values for my four sources in testing a GPI only button.

    The switch worked...to a point.

    Right now, I have two buttons.

    The first button takes the source I've preset on ME3 (where I can preview it) and sends it to preset on MiniME1.

    The second button has the switch with the four video playout sources I need to roll, then a short pause, then transitions MiniME1

    What happens with the switch, though, is it fires the GPI side of the GPO I need to fire which are defaulted to keyer Autotrans on ME1.

    I tried searching for GPO, but without a way to tell what is what (Inspection mode didn't seem to work on the GPIO config panel) I was really flying blind.

    I picked the second through fifth GPO triggers (Not in Menu) and plugged them into my switch, no luck.

    I picked the second through fifth Source GPO (Not in Menu) and plugged them in but no luck.

    I saw CC Event GPO pin but didn't know what to do with it...I'd rather not involve custom controls for fear that somebody might delete/modify them.

    I wondered whether I could assign the GPO to the GPI side somehow, but didn't want to go poking around there since those four GPOs are critical.

    I feel like I'm close...or that I've hit a wall.

    Any suggestions?

    Thanks,
    James.


    ------------------------------
    James Hessler
    WAAY (HEARTLAND MEDIA)
    ------------------------------



  • 4.  RE: Trigger Carbonite GPO from DashBoard

    Posted 11-18-2022 09:03
    Hey James. I think what your looking for is in the Carbonite I'd need the switcher team to double check this but the GPIO are the same numbers in the logic. 
    The GPIO is set in the configuration menu of the Carbonite (see below)


    ------------------------------
    Jack Horry
    Product Manager
    DashBoard, PowerPlay, Lightning
    Ross Video | Living Live
    ------------------------------



  • 5.  RE: Trigger Carbonite GPO from DashBoard

    Posted 11-18-2022 11:23
    Hey Jack,

    Your GIF(?) was inspired...and inspiring.

    One of my engineers set up those GPOs when we got our first Carbonite Plus and we imported them when we upgraded to the Black Plus---they have rolled our BitCentral playout servers for years now...albeit with a tiny delay.

    While watching your GIF, first on my phone with my eyes still blurry and then on a tablet, it occurred to me that the Run GPI Action may hit the GPI side first and never reach the GPO side.

    Should I set the GPIs to <none> in the hope that the Run GPI Action reaches the GPO side?

    I won't get to work till this afternoon, but I think I'll test it out first thing.

    Thanks,
    James.



    ------------------------------
    James Hessler
    WAAY (HEARTLAND MEDIA)
    ------------------------------



  • 6.  RE: Trigger Carbonite GPO from DashBoard

    Posted 11-18-2022 21:00
    Hey Jack,

    It took a little longer than first thing, but assigning <none> to the GPI side and the redelegating them as GPOs didn't fix my problem.

    I can save custom controls that fire the BitCentral GPOs and then assign those to another set of GPOs and make it work, but that seems pretty cumbersome.

    Is it possible that the hardwire connections to our BitCentral server disable DashBoard's path to the GPOs?

    Thanks,
    James.
    #DashBoard #CarboniteBlack
    ​​

    ------------------------------
    James Hessler
    WAAY (HEARTLAND MEDIA)
    ------------------------------