Hi Garret,
Yes you can use the param inspector to get OIDs of each bus (in your case its ME2 background 0xE0C).
You can drag that param to new custom panel.
This bus takes different constraint choices as shown below picture.

So basically you can add task to this which is basically visual logic or ogscript code which would trigger as soonas there is change in its value.
you can do this using visual logic blocks with out even writing code.
The custom panel code is below
<abs contexttype="opengear" id="_top" keepalive="false" style="">
<simplegrid contexttype="opengear" height="75" left="231" objectid="Carbonite 00:0F:9B:02:16:FE<br>Slot 0<br>Carbonite" objecttype="Carbonite" rows="1" top="362" width="100">
<param baseurl="http://172.16.9.109/tmp/busestab.xml" expand="true" oid="0xE0C" showlabel="false" widget="label">
<task tasktype="ogscript">var val=params.getParam('Carbonite 00:0F:9B:02:16:FE<br>Slot 0<br>Carbonite', '0xE0C', 0).getValue();
switch (val)
{
case 1000:
ogscript.debug("This is background source "+val);
break;
case 1004:
ogscript.debug("This is background source "+val);
break;
default:
ogscript.debug("this is something i dont care "+val);
}</task>
</param>
</simplegrid>
</abs>
Thanks
Anand
------------------------------
Anand Soraganvi
Ross Video
------------------------------
Original Message:
Sent: 08-15-2021 00:29
From: Garrett Strudler
Subject: Detecting when a Carbonite source is in preview or on-air
I'm a total novice with Dashboard and scripting, but am looking to do the same thing. I understand the basic concepts here (I think), but could use some more step-by-step guidance on retrieving the source information from a Carbonite (Ultra) and using that to fire off discrete scripts depending on which source is on a particular bus.
Example: when Input 1 is the selected source on the Background/Program bus of ME 2 (P/P), run script "X". If Input 2 is selected, run script "Y", etc.
I'm unclear how to correctly poll for that information (and mildly concerned what the polling interval is), and then how to pass that information to another action (button, script, etc).
------------------------------
Garrett Strudler
Original Message:
Sent: 06-02-2020 16:10
From: Simon Latus
Subject: Detecting when a Carbonite source is in preview or on-air
Thanks Ben
Good to know I was on the right track! I wish I'd known about the CTRL-I thing, I spent most of the time working out the OIDs!
#DashBoard