Hey James!
I had wondered about the switch since I've used them heavily in Xpression, and had found the values for my four sources in testing a GPI only button.
The switch worked...to a point.
Right now, I have two buttons.
The first button takes the source I've preset on ME3 (where I can preview it) and sends it to preset on MiniME1.
The second button has the switch with the four video playout sources I need to roll, then a short pause, then transitions MiniME1
What happens with the switch, though, is it fires the GPI side of the GPO I need to fire which are defaulted to keyer Autotrans on ME1.
I tried searching for GPO, but without a way to tell what is what (Inspection mode didn't seem to work on the GPIO config panel) I was really flying blind.
I picked the second through fifth GPO triggers (Not in Menu) and plugged them into my switch, no luck.
I picked the second through fifth Source GPO (Not in Menu) and plugged them in but no luck.
I saw CC Event GPO pin but didn't know what to do with it...I'd rather not involve custom controls for fear that somebody might delete/modify them.
I wondered whether I could assign the GPO to the GPI side somehow, but didn't want to go poking around there since those four GPOs are critical.
I feel like I'm close...or that I've hit a wall.
Any suggestions?
Thanks,
James.
------------------------------
James Hessler
WAAY (HEARTLAND MEDIA)
------------------------------
Original Message:
Sent: 11-15-2022 11:49
From: James Peltzer
Subject: Trigger Carbonite GPO from DashBoard
Hi James - I have attached some snippets that aren't exactly what you want but should give you what you need to hopefully implement your panel.
Yes, what you are trying to do is possible but you script needs a few changes:
1. Each source for a switcher bus uses a value/name pairing for the sources. The value you want to set the source to is the numeric value and not the name. You can use the Param Inspector tool to see which number you should input to get the source you want. You can use CTRL+i to go into "inspector mode" and double-click on the parameter you want to see:

2. Your scripts are currently triggering GPOs for DashBoard itself. You will want to choose the "run GPI action" out of the switcher's API in Visual Logic:

3. You may find a "switch" block is more useful for the type of action you're trying to do. It allows you to trigger many paths off of a single variable based on its current value (like a bunch of chained "if" statements):

This shows what the script would look like for my switcher and triggering GPOs for when the Aux bus is set to Input 1, 2, 3, or 4
<abs contexttype="opengear" keepalive="true"> <meta> <context contexttype="opengear" id="switcher" objectid="PRIMARY_ID_OF_YOUR_SWITCHER_GOES_HERE" subscriptions="false"/> </meta> <param contextid="switcher" expand="true" height="51" left="203" mid="48124" oid="0xDFF" showlabel="false" top="231" widget="label" width="199"> <task tasktype="ogscript">/*! block id=1001,1007,1008,1009,1010,1011 !*/switch (params.getParam("switcher", '0xDFF', 0).getValue()){ case 1000: rosstalk.sendMessage("172.16.9.110", 7788, "GPI " + 1); break; case 1001: rosstalk.sendMessage("172.16.9.110", 7788, "GPI " + 2); break; case 1002: rosstalk.sendMessage("172.16.9.110", 7788, "GPI " + 3); break; case 1003: rosstalk.sendMessage("172.16.9.110", 7788, "GPI " + 4); break;}/*!! <block id="1001" type="switch" x="322" y="155" w="268" VALUE="ID:1007" STATEMENT="ID:1008" statementtag_STATEMENT="1000" STATEMENT_0="ID:1009" statementtag_STATEMENT_0="1001" STATEMENT_1="ID:1010" statementtag_STATEMENT_1="1002" STATEMENT_2="ID:1011" statementtag_STATEMENT_2="1003" STATEMENT_3="" /><block id="1007" type="param_switcher&amp;Aux Source (0xDFF)[0]" x="56" y="137" w="243" SET="" /><block id="1008" type="switcher_carbonite_gpi" x="714" y="198" w="243" GPI="1" /><block id="1009" type="switcher_carbonite_gpi" x="731" y="317" w="243" GPI="2" /><block id="1010" type="switcher_carbonite_gpi" x="668" y="424" w="243" GPI="3" /><block id="1011" type="switcher_carbonite_gpi" x="676" y="543" w="243" GPI="4" />!!*//*!!<checksum>5e5830c0b988888775856c7366a586e0</checksum>!!*/</task> </param></abs>
------------------------------
James Peltzer
Ross Video
Original Message:
Sent: 11-13-2022 20:50
From: James Hessler
Subject: Trigger Carbonite GPO from DashBoard
I'm working on a DashBoard panel that I hope will allow me to preset a source and assign that source to another bus on my Carbonite Black Plus and if there is a GPO associated with the source, fire the GPO.
In the visual logic for a button on my panel, the MLE Preset Source block feeding into the Aux Source block makes the assignment I need.
Then I need a little if then routine...if the source assigned is Input5 fire GOP2 and so on.
This visual logic breaks down on firing the GPOs.

To see if I could fire the GPO another way, I built a button with this visual logic....with a touch wheel to assign the number I wanted to fire and it didn't fire my GPO, but I noticed that it was hitting the Autotrans on a keyer on ME1 the default action for the GPI side of that GPIO...nothing I've dug up got me to the GPO side.

Is what I want to do even possible? Any ideas how?
I also want to be able to tie the buttons on my DashBoard panel back to Carbonite Custom Controls, but I need to get the basic parts built first.
Thanks,
James.
------------------------------
James Hessler
WAAY (HEARTLAND MEDIA)
------------------------------