Hi all,
Trying to get a dropdown for NDI source. I'm using setsrcname but no luck in changing the source. Any thoughts?
Thank you
Al
<abs contexttype="opengear" id="_top" keepalive="false">
<meta>
<params>
<param access="1" constrainttype="STRING_CHOICE" maxlength="0" name="InputList1" oid="Input_List_1" type="STRING" value="NDI (Output2)" widget="combo">
<constraint>None</constraint>
<constraint>NDI (Output)</constraint>
<constraint>NDI (Output2)</constraint>
</param>
</params>
</meta>
<tab height="898" left="15" top="18" width="1356">
<abs name="Tab 1">
</abs>
<abs name="Tab 2">
<param expand="true" height="55" left="58" oid="Input_List_1" top="65" width="319"/>
<button buttontype="push" height="40" name="Go" right="20" top="18" width="80">
<task tasktype="ogscript">ogscript.getComponentsById('browser')[0].setUrl(params.getValue('URL1', 0));</task>
</button>
<button buttontype="push" height="40" left="418" name="Go" top="71" width="80">
<task tasktype="ogscript">ogscript.getComponentsById('NDIInput1')[0].setsrcname(params.getName('Input_List_1', 0));</task>
</button>
<ndi height="204" id="NDIInput1" name="NDIInput1" right="961" showsrc="true" srcname="NDI (Output2)" top="180" width="296"/>
</abs>
</tab>
</abs>