Facility Control

 View Only
  • 1.  Panel with audio control

    Posted 06-17-2020 11:54

    Hello

    I've been wanting to create a panel where I can put a slider audio button for each video source and a audio feed that controls the levels of dB of each video. I'm not quite sure how to do that. I'm working with Ultrix. 



  • 2.  RE: Panel with audio control

    Posted 06-17-2020 17:48

    Hello,

    You can find the parameters that represent the audio gain of each input or output using the "Ultrix" panel, under the "Controllers + Matrices" branch of the "Devices" branch of the Ultrix.

     

     

    Once you're in that panel, select the output you want to control, click on the "Port Configutation" tab, and choose "audio".

     

     

    That gives you access to the "gain" on all the channels of that output.   

     

    I think the easiest way to put those controls on your panel is as follows.

     

    1. Create a new Custom Panel.

    2. Click on its tab, and drag it over to the right, so that it is side by side with the Ultrix panel.

     

    3 Click in the Ultrix Panel to make it active and click on "PanelBuilder Edit Mode" at the top.   The Ultrix Panel should have a green tint overlay.  

    4. Drag the entire table from the bottom over to your custom panel.  It should now look something like this:

     

    This gives you access to all of them.   

    5. If you want to have a slider for just one of them, then you can double click the table in your custom panel (in PanelBuilder mode).

    You should see something like this:

    6. Change the OID.   If you expand the dropdown list for the OID, you should see the current table's OID. 

    If you expand the channels, you can pick suboids from it.

    7. Find the channel you want to control, then expand that, and you should see the "Gain" as one of the sub-parameters.

    For example, if I wanted to control channel 5's gain on signal #1, then I changed my OID to be params.frameslots.0.ports.1.signals.1.channels.5.gain.

    Once I click on OK, I see this:

    The table has been replaced with a single parameter.

     

    8.  You can then move, and resize that parameter as you see fit, with these tools.

     

    9. You can also change what widget you are using to display that parameter.   Double click on it again in PanelBuilder Mode, and then uncheck "Get value from parameter" next to the widget hint.   And then change the widget hint to what you want.  like Vertical Slider (no label).

    You can then have sliders that look like this:

     

    10. You can also use labels to clarify what each slider is.   

    11.  If you want to organize a whole bunch of these, I would suggest using a simple grid to hold them all.

     

    Here is an example of what I ended up with that controls channels 1 to 7 of my ultrix output:

     

    <simplegrid height="579" left="287" rows="0" top="116" width="468">
    <param baseurl="http://10.7.0.203:8080/oglml/db-oglml-frame.xml?libEnable=0" expand="true" height="538" left="120" oid="params.frameslots.0.ports.1.signals.1.channels.1.gain" showlabel="false" top="177" widget="slider-vertical-nolabel" width="123"/>
    <param baseurl="http://10.7.0.203:8080/oglml/db-oglml-frame.xml?libEnable=0" expand="true" height="538" left="120" oid="params.frameslots.0.ports.1.signals.1.channels.2.gain" showlabel="false" top="177" widget="slider-vertical-nolabel" width="123"/>
    <param baseurl="http://10.7.0.203:8080/oglml/db-oglml-frame.xml?libEnable=0" expand="true" height="538" left="120" oid="params.frameslots.0.ports.1.signals.1.channels.3.gain" showlabel="false" top="177" widget="slider-vertical-nolabel" width="123"/>
    <param baseurl="http://10.7.0.203:8080/oglml/db-oglml-frame.xml?libEnable=0" expand="true" height="538" left="120" oid="params.frameslots.0.ports.1.signals.1.channels.4.gain" showlabel="false" top="177" widget="slider-vertical-nolabel" width="123"/>
    <param baseurl="http://10.7.0.203:8080/oglml/db-oglml-frame.xml?libEnable=0" expand="true" height="538" left="120" oid="params.frameslots.0.ports.1.signals.1.channels.5.gain" showlabel="false" top="177" widget="slider-vertical-nolabel" width="123"/>
    <param baseurl="http://10.7.0.203:8080/oglml/db-oglml-frame.xml?libEnable=0" expand="true" height="538" left="120" oid="params.frameslots.0.ports.1.signals.1.channels.6.gain" showlabel="false" top="177" widget="slider-vertical-nolabel" width="123"/>
    <param baseurl="http://10.7.0.203:8080/oglml/db-oglml-frame.xml?libEnable=0" expand="true" height="538" left="120" oid="params.frameslots.0.ports.1.signals.1.channels.7.gain" showlabel="false" top="177" widget="slider-vertical-nolabel" width="123"/>
    </simplegrid>

     

    12.  There are ways to make this more efficient by moving the baseurl up to the simplegrid's level.  But this should at least get you started.

     

    I'm not an Ultrix expert, so hopefully this does what you are asking to do.

     

     


    #DashBoard


  • 3.  RE: Panel with audio control

    Posted 06-24-2020 14:07

    Hello Ben, thank you for your time. It didn't work when I try to drag the audio panel to my Custom Panel, it doesn't show anything. Because of that the parameters on your example don't show on my panel. I'll leave some pics. 

      


    #DashBoard


  • 4.  RE: Panel with audio control

    Posted 06-24-2020 15:50

    Hello, Joao has been working with me and we changed the coding ang got the source one audiometer right, but we can't put source 2, do you know how we could do that? I'll put the pics and leave our coding at the end. 

     

    CODE:

    <abs contexttype="opengear" id="_top" keepalive="false">
    <simplegrid contexttype="opengear" height="318" left="111" objectid="Ultrix-30128130002&lt;br&gt;Slot 0&lt;br&gt;Ultrix" objecttype="Ultrix" rows="1" top="400" width="327">
    <param baseurl="http://192.168.20.140:8080/oglml/db-oglml-frame.xml?libEnable=0" expand="true" height="538" id="01" left="120" name="SRC1_aud1" oid="params.frameslots.1.ports.1.signals.1.channels.0.gain" showlabel="false" top="177" widget="slider-vertical-nolabel" width="123"/>
    <param baseurl="http://192.168.20.140:8080/oglml/db-oglml-frame.xml?libEnable=0" expand="true" height="538" id="02" left="120" name="SRC1_aud2" oid="params.frameslots.1.ports.1.signals.1.channels.1.gain" showlabel="false" top="177" widget="slider-vertical-nolabel" width="123"/>
    </simplegrid>
    <simplegrid contexttype="opengear" height="318" left="460" objectid="Ultrix-30128130002&lt;br&gt;Slot 0&lt;br&gt;Ultrix" objecttype="Ultrix" rows="1" top="401" width="323">
    <param baseurl="http://192.168.20.140:8080/oglml/db-oglml-frame.xml?libEnable=0" expand="true" height="538" id="03" left="120" name="SRC2_aud1" oid="params.frameslots.1.ports.1.signals.2.channels.2.gain" showlabel="false" top="177" widget="slider-vertical-nolabel" width="123"/>
    <param baseurl="http://192.168.20.140:8080/oglml/db-oglml-frame.xml?libEnable=0" expand="true" height="538" id="04" left="120" name="SRC2_aud2" oid="params.frameslots.1.ports.1.signals.2.channels.3.gain" showlabel="false" top="177" widget="slider-vertical-nolabel" width="123"/>
    </simplegrid>
    </abs>

     

    Thank you


    #DashBoard