Hi Randal
The Ultritouch units expose the LCD brightness as a numeric parameter with a range from 12-255 (you can see this by using the param inspector):
Using this, I can create a custom panel with a 'Master Dim' parameter that, when changed, writes a new value to any number of Ultritouch units. I'm using a slider in my example but you can just as easily create buttons for different preset levels of brightness or even set values based on a timer if that type of automation is desirable.
<abs contexttype="opengear" id="_top" keepalive="false" style="">
<meta>
<params>
<param access="1" constraint="12.0;255.0;12.0;255.0;1" constrainttype="INT_STEP_RANGE" name="Master Dim" oid="Master_Dim" precision="0" type="INT32" value="221" widget="slider-vertical-nolabel"/>
</params>
<context contexttype="opengear" id="ut-1" objectid="Ultritouch-00AD2AE7CF<br>Slot 0<br>Ultritouch Device" objecttype="Ultritouch Device" subscriptions="true">
<meta>
<subscription oids="deviceoptions.lcdbrightness"/>
</meta>
</context>
<context contexttype="opengear" objectid="Ultritouch-827F4EF5E2<br>Slot 0<br>Ultritouch Device" objecttype="Ultritouch Device" subscriptions="true">
<meta>
<subscription oids="deviceoptions.lcdbrightness"/>
</meta>
</context>
</meta>
<simplegrid cols="6" height="244" left="7" right="6" top="5">
<param expand="true" oid="Master_Dim" showlabel="false">
<task tasktype="ogscript">
/*! block id=1011,1012 !*/
params.getParam("ut-1", 'deviceoptions.lcdbrightness', 0).setValue(params.getValue('Master_Dim', 0));
/*! block id=1013,1014 !*/
params.getParam("Ultritouch-827F4EF5E2<br>Slot 0<br>Ultritouch Device", 'deviceoptions.lcdbrightness', 0).setValue(params.getValue('Master_Dim', 0));
/*!!
<block id="1011" type="param_ut-1&amp;LCD's Brightness (deviceoptions.lcdbrightness)[0]" x="283" y="10" w="243" SET="ID:1012" next="ID:1013" />
<block id="1012" type="param__top&amp;Master Dim (Master_Dim)[0]" x="10" y="10" w="243" SET="" />
<block id="1013" type="param_Ultritouch-827F4EF5E2&lt;br&gt;Slot 0&lt;br&gt;Ultritouch Device&amp;LCD's Brightness (deviceoptions.lcdbrightness)[0]" x="283" y="82" w="243" SET="ID:1014" />
<block id="1014" type="param__top&amp;Master Dim (Master_Dim)[0]" x="10" y="82" w="243" SET="" />
!!*/
/*!!<checksum>27000fcd0f106f13b439f7c5c4d45699</checksum>!!*/</task>
</param>
<param contextid="ut-1" expand="true" oid="deviceoptions.lcdbrightness" showlabel="false"/>
<param contextid="Ultritouch-827F4EF5E2<br>Slot 0<br>Ultritouch Device" expand="true" oid="deviceoptions.lcdbrightness" showlabel="false"/>
</simplegrid>
</abs>
The relevant pieces:
I have added each Ultritouch to my custom panel (2 in my case) using the <context/> tag. Using this tag and giving it a value for "id" makes it easier to reference the parameters in script later.
The script itself is actually quite simple (it looks more intimidating in the source view since it contains formatting for DashBoard's visual scripting). Basically, for each Ultritouch I need one line:
params.getParam("ut-1", 'deviceoptions.lcdbrightness', 0).setValue(params.getValue('Master_Dim', 0));
Where ut-1 is the "id" of the <context/> for one of the Ultritouch panels and params.getValue('Master_Dim', 0) is the value I want to set the brightness to (can be replaced with a number instead of a parameter value if you just want a preset).
Hope this helps.
James
------------------------------
James Peltzer
Ross Video
------------------------------
Original Message:
Sent: 09-18-2024 19:11
From: Randall Malone
Subject: Command to Dim Ultritouch Panel
I have 12 Ultritouch panels. I am starting to experience some burn-in on the displays because they stay on all the time and are only used one day per week. I also have a master panel that runs on a PC that connects to all of the Ultritouches.
I would like to have a button on my master panel that dims all of the displays. Is there a built-in command to control the brightness?
------------------------------
Randall Malone
------------------------------