Facility Control

 View Only
  • 1.  Choose toggle buttons per tab

    Posted 08-18-2022 12:48
    I'm creating a custom panel to control my switcher from my Ultritouch 2. Because of the size of the UT2, I've got my crosspoint buttons split between 4 tabs. I'm doing this by having individual parameters for each tab. This works fine, but as I switch tabs I see a different crosspoint selected from the last time I was on that page. I'd prefer to have a single parameter with all of the choice constraints in the setup, then choose which choice is visible in each tab. So I'd only be editing the one parameter, but my tab dictates which changes I can make. Then if I have a value for the parameter that isn't on the tab, it just shows no selection until I hit the next value.

    I realize this only keeps my individual panel instance in sync and doesn't account for what's actually live on the switcher. That's my next project. But I'm guessing only have 1 parameter to measure against what's actually live will be easier to manage.

    ------------------------------
    Matthew Drury
    Systems Engineer
    North Point Ministries
    Alpharetta, GA United States
    ------------------------------


  • 2.  RE: Choose toggle buttons per tab

    Posted 08-18-2022 13:35
    Hi Matthew
    You can put the same parameter on a panel any number of times and override the constraint where it is displayed.
    I would recommend creating the parameter with all of the values you want in one large constraint - then you can simply override the the constraint and remove all but the 4 you want on each of your custom panel pages.

    Here is a panel that demonstrates the override:
    <abs contexttype="opengear" gridaspect="false" gridheight="203" gridwidth="1304" keepalive="false" touch="true" virtualheight="203" virtualwidth="1304">
    <meta>
    <ogscript handles="onchange" oid="params.xpt">


    /*! block id=1000,1001,1002 !*/
    ogscript.debug(("My value is: " + params.getValue('params.xpt', 0)));
    /*!!
    &lt;block id="1000" type="ogscript_debug" x="531" y="10" w="243" MESSAGE="ID:1001" /&gt;
    &lt;block id="1001" type="math_add" x="283" y="10" VALUE="My value is: " VAL_1="ID:1002" w="218" VAL_1_1="" /&gt;
    &lt;block id="1002" type="param__top&amp;amp;Crosspoint (params.xpt)[0]" x="10" y="10" w="243" SET="" /&gt;
    !!*/
    /*!!&lt;checksum&gt;d19d0138fb3880655836745a7f613336&lt;/checksum&gt;!!*/</ogscript>
    <params>
    <param access="1" constrainttype="INT_CHOICE" name="Crosspoint" oid="params.xpt" precision="0" stateless="true" type="INT32" value="-1" widget="radio-toggle">
    <constraint key="1">XPT 1</constraint>
    <constraint key="2">XPT 2</constraint>
    <constraint key="3">XPT 3</constraint>
    <constraint key="4">XPT 4</constraint>
    <constraint key="5">XPT 5</constraint>
    <constraint key="6">XPT 6</constraint>
    <constraint key="7">XPT 7</constraint>
    <constraint key="8">XPT 8</constraint>
    <constraint key="9">XPT 9</constraint>
    <constraint key="10">XPT 10</constraint>
    <constraint key="11">XPT 11</constraint>
    <constraint key="12">XPT 12</constraint>
    </param>
    </params>
    </meta>
    <tab bottom="3" left="3" right="6" tabposition="west" top="2">
    <abs name="Page 1">
    <simplegrid bottom="1" left="2" right="3" rows="1" top="2">
    <param constrainttype="INT_CHOICE" expand="true" oid="params.xpt" precision="0" showlabel="false">
    <constraint key="1">XPT 1</constraint>
    <constraint key="2">XPT 2</constraint>
    <constraint key="3">XPT 3</constraint>
    <constraint key="4">XPT 4</constraint>
    </param>
    </simplegrid>
    </abs>
    <abs name="Page 2">
    <simplegrid bottom="1" left="2" right="3" rows="1" top="2">
    <param constrainttype="INT_CHOICE" expand="true" oid="params.xpt" precision="0" showlabel="false">
    <constraint key="5">XPT 5</constraint>
    <constraint key="6">XPT 6</constraint>
    <constraint key="7">XPT 7</constraint>
    <constraint key="8">XPT 8</constraint>
    </param>
    </simplegrid>
    </abs>
    <abs name="Page 3">
    <simplegrid bottom="1" left="2" right="3" rows="1" top="2">
    <param constrainttype="INT_CHOICE" expand="true" oid="params.xpt" precision="0" showlabel="false">
    <constraint key="9">XPT 9</constraint>
    <constraint key="10">XPT 10</constraint>
    <constraint key="11">XPT 11</constraint>
    <constraint key="12">XPT 12</constraint>
    </param>
    </simplegrid>
    </abs>
    </tab>
    </abs>

    If you are controlling a Carbonite or Graphite series switcher, you can skip creating your task to change the crosspoint and creating the parameter by just grabbing the bus parameter for the crosspoint you are looking to change.

    Cheers

    James

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



  • 3.  RE: Choose toggle buttons per tab

    Posted 08-18-2022 13:44
    That's perfect! Exactly what I wanted. Yeah, I knew about the Carbonite setup. I wish it was available for Acuity. Having realtime feedback of what my panel is actually doing and bus map selection would be the best option. Hopefully that will come to Acuity soon.

    ------------------------------
    Matthew Drury
    Systems Engineer
    North Point Ministries
    Alpharetta United States
    ------------------------------