Facility Control

 View Only
  • 1.  NDI tool doesn't work in Panel Builder?

    Posted 02-14-2019 14:56
    Hi, getting my feet wet in Panel Builder. Interested because it allows to view NDI sources, and even define the low/high res options, ... However, when I follow the manual, I click the 'NDI' button from the floating panel, I draw a rectangle on the canvas. Then, a popup should appear to select NDI parameters. But this popup never comes. I tried this on my Win7 Pro/64 laptop. Other panels do show the popup.

    On a W10 machine, I got the popup once. But 'scanning' for NDI sources (and this W10 machine is in the same subnet as between others a TC1 and a bunch of other NDI sources), no source became visible. After that one time, no popup appeared anymore on this W10 machine too.

    Latest download from the Ross site ...


  • 2.  RE: NDI tool doesn't work in Panel Builder?

    Posted 02-14-2019 20:48

    You should be getting the popup but, if you aren't, you should be able to double-click on the NDI viewer rectangle you created and go into the source editor and select the NDI source there.


    If you have multiple NDI sources, you can also use Dashboard's ogScript engine to query for the available sources and change the current source for an NDI window:

    <abs contexttype="opengear">
       <meta>
          <params>
             <param access="1" constrainttype="STRING_CHOICE" maxlength="0" name="NDI Sources" oid="ndi.sources" stateless="true" type="STRING" value="NONE" widget="list">
                <constraint>NONE</constraint>
             </param>
          </params>
       </meta>
       <borderlayout bottom="0" left="0" right="0" top="0">
          <borderlayout anchor="west" width="200">
             <param anchor="center" bottom="58" expand="true" left="2" oid="ndi.sources" right="3" scrolling="vertical" showlabel="false" top="5">
                <task tasktype="ogscript">var ndiWindow = ogscript.getComponentsById('ndi-window')[0];
    ndiWindow.setSource(this.getValue());</task>
             </param>
             <button anchor="south" bottom="6" buttontype="push" height="80" left="3" name="Load List" right="2">
                <task tasktype="ogscript">var ndiWindow = ogscript.getComponentsById('ndi-window')[0];
    var sourceNames = ndiWindow.getNDISourceNames();
    ogscript.debug("FOUND" + sourceNames.length);
    var c = params.createStringChoiceConstraint(sourceNames);
    params.replaceConstraint('ndi.sources', c);</task>
             </button>
          </borderlayout>
          <ndi anchor="center" fill="fit" id="ndi-window" quality="high" showname="true" srcname="BIRDDOG-DB (SDI)" style="bg#dark;bdr:etched;"/>
       </borderlayout>
    </abs>

    #DashBoard