Original Message:
Sent: 10-14-2022 14:04
From: Aaron Rice
Subject: Dashboard visual logic triggered by keyer on status
Sorry, it didn't post the .grid file through the email reply.
------------------------------
Aaron Rice
WTVO/WQRF/My Network TV
Original Message:
Sent: 10-14-2022 14:02
From: Aaron Rice
Subject: Dashboard visual logic triggered by keyer on status
Original Message:
Sent: 10/14/2022 1:54:00 PM
From: Jack Horry
Subject: RE: Dashboard visual logic triggered by keyer on status
can you send back the panel?
------------------------------
Jack Horry
Product Manager
DashBoard, PowerPlay, Quorum
Ross Video | Living Live
Original Message:
Sent: 10-14-2022 13:49
From: Aaron Rice
Subject: Dashboard visual logic triggered by keyer on status
Yes, it is monitoring the MC1 panel. I set the canvas to be green if it's off, red if it's on. With the key off, after I apply changes and close in the editor for the ogscript, the canvas shows green. When I turn the key on, it doesn't change to red until I go back to the ogscript attributes and click apply and close. Then it will be red, and won't update again until I go back in to the ogscript and do another apply and close. So, I know it's seeing the MC1 panel because it somewhat works, but not without me intervening. That causes it to do the "onload" when I apply and close, but the "onchange" or "attribtechange" doesn't work.
------------------------------
Aaron Rice
WTVO/WQRF/My Network TV
Original Message:
Sent: 10-14-2022 13:38
From: Jack Horry
Subject: Dashboard visual logic triggered by keyer on status
The panel is monitoring the MC1 i hope. If its not it wont find the OID
------------------------------
Jack Horry
Product Manager
DashBoard, PowerPlay, Quorum
Ross Video | Living Live
Original Message:
Sent: 10-14-2022 13:16
From: Aaron Rice
Subject: Dashboard visual logic triggered by keyer on status
Thanks again for helping me, Jack! I have found the OID for the key, and in your sample panel I changed "number" to the OID for the keyer. When I turn the keyer on or off, nothing changes, but it did when I clicked to increment the number. I made a button that puts the value from the OID to a text field when I press it. It will give me a value of 0.0 when the keyer is off, and 1.0 when it's on, so I know the value changes relative to the status of the keyer, but it won't change the canvas color. Changed the switch values from 0 and 1 to 0.0 and 1.0, but still nothing. I also tried using Get Paramater Value to feed the switch, and that doesn't work either. When I added "OnLoad", it would be correct after I apply and close, but won't change after that. Any ideas?
------------------------------
Aaron Rice
WTVO/WQRF/My Network TV
Original Message:
Sent: 10-14-2022 03:17
From: Jack Horry
Subject: Dashboard visual logic triggered by keyer on status
Sorry Aaron I'm not the MC1 guy. But I would look for the key bus itself. You may get the key on command to trigger something but the commands can take time to action so it may not have completed by the time the key is actually live on the switch.
Pushing ctrl+I puts DashBoard into inspector mode where you can click on an element and get the details of its OID's as another useful tip. (ctrl+I again returns dashboard to normal)
Hope that helps
Jack
------------------------------
Jack Horry
Product Manager
DashBoard, PowerPlay, Quorum
Ross Video | Living Live
Original Message:
Sent: 10-13-2022 14:43
From: Aaron Rice
Subject: Dashboard visual logic triggered by keyer on status
Thanks, Jack! This is great. Do you know how I would find the OID that indicates if the key is on-air or not for the MC1? I've looked through and tried replacing "number" with the OID for the button for Key 1, but that doesn't change anything. Sorry...I'm new to this whole Dashboard thing :)
------------------------------
Aaron Rice
WTVO/WQRF/My Network TV
Original Message:
Sent: 10-13-2022 04:16
From: Jack Horry
Subject: Dashboard visual logic triggered by keyer on status
Hey Aaron. What you need is the "onchange" attribute. this will monitor a parameter for any change then run a task. I have made a sample panel for you to look at. The panel doesn't have any buttons to trigger an action it is purely looking for any change in the number. So as you change the number the routine runs. The same will happen for any external OID's the system is monitoring.
The important line here is in the ogscript at the top <ogscript handles="onchange" oid="Number">
Hope that Helps
------------------------------
Jack Horry
Product Manager
DashBoard, PowerPlay, Quorum
Ross Video | Living Live
Original Message:
Sent: 10-12-2022 21:09
From: Aaron Rice
Subject: Dashboard visual logic triggered by keyer on status
Anyone able to help me with this? What I want is on a custom panel in Dashboard, to have visual logic that is always checking the "tally" status of a keyer on an MC1 switcher, and when it is on-air, to trigger an action and trigger another action if it's off-air. Ideally, it would fire a GPI when the status changes, and then continue monitoring but only fire the GPI once per change from on to off etc.
I'm not sure how to set something like this up to run without having a button pushed to trigger it. Any help would be greatly appreciated!
------------------------------
Aaron Rice
WTVO/WQRF/My Network TV
------------------------------