Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BMD Videohub Routing Table Save and Restore #9

Open
BaseballJim opened this issue Oct 28, 2020 · 42 comments
Open

BMD Videohub Routing Table Save and Restore #9

BaseballJim opened this issue Oct 28, 2020 · 42 comments

Comments

@BaseballJim
Copy link
Contributor

My venue swaps between two disparate events almost on a daily basis. I have a paper sheet of routes for our BMD 40x40 that I need to manually enter before each change over. I am now using StreamDeck + Companion for some automation tasks and I would really like to be able to create a button that "Saves" the routing table (it looks like from the source code Companion already reads the routing table from the device) into a file and another button that "Reads" the routing table from a file and writes it into the BMD router. The "Save" button would have as an argument a path and file name to save to and the "Read" button would have as an argument a path and file name to load the saved routing table from. Then I could create a file with the standard routes for "baseball' and another file with the standard routes for 'Softball' and create a button to initialize the router to a known state before each event.

@josephdadams
Copy link
Member

Can’t you already do this in the BMD software? Or is it just source and destination names, not routes.

@BaseballJim
Copy link
Contributor Author

BaseballJim commented Oct 28, 2020 via email

@josephdadams
Copy link
Member

I am going to transfer this over to the BMD Videohub repository.

@josephdadams josephdadams transferred this issue from bitfocus/companion-module-requests Oct 29, 2020
@MHDallas
Copy link

MHDallas commented Apr 4, 2021

BTW - I am doing this with Companion. Not using a Save/Restore, but have the capability working.
I have a 40x40 VideoHUb. I created a Companion Page with buttons for "Name Input" (to set source names), "Name Output" (to set destination names), "Route Sunday" (routing for Sunday Morning services), "Route Student" (routing for Student services), "Route Funeral" (Routing for standard funerals), and others.

The first "routing" button was a matter of creating a <VideoHub: Route> for every output (40). The rest was easier, just copy a previous button and change the ones that needed to be changed.

I also use one previously unused output (38) to identify the current setting. I use <VideoHub: Change Background Color by Destination> to change the color of the "Route" buttons. "Route Sunday" sets Output 38 to Input 1. "Route Student" sets Output 38 to Input 2, etc. Very comforting to be able to check seconds before a service.

I now ONLY use Companion to make any changes to the VideoHub. This keeps the various buttons updated and I don't forget to update one of the various services.

@bingston
Copy link

bingston commented Nov 8, 2021

@MHDallas any chance you could share how you did this? I'm using a 40x40 VideoHub also. I just learned about Companion after searching for a way to make some macros. Did you follow any other guides you might be able to share or did you figure it all out yourself? Thanks advance!

@BaseballJim
Copy link
Contributor Author

BaseballJim commented Nov 8, 2021 via email

@bingston
Copy link

bingston commented Nov 8, 2021

Thanks @BaseballJim for the quick reply. I'm still figuring things out. Since I sent the message I saw how to add the VideoHub as an instance. That's as far as I've made it. I'll keep playing around. Thanks!

@MHDallas
Copy link

MHDallas commented Nov 9, 2021

@MHDallas any chance you could share how you did this? I'm using a 40x40 VideoHub also. I just learned about Companion after searching for a way to make some macros. Did you follow any other guides you might be able to share or did you figure it all out yourself? Thanks advance!

I use Bitfocus Companion to interface/automate with most of the equipment I use for House of Worship iMag and Live Broadcast. For the VideoHub, I have the need for a one-button "Put everything back the way it should be for Sunday Service" as well as multiple one-button options for memorial services, Kids Services, Baptism, etc.

Companion comes with a VideoHub Module. When loaded, this gives you the ability to add one or more VideoHub commands to a button. The intent is for the button to be on a StreamDeck device; however, Companion also has a web interface. Adding the appropriate number (40) of <VideoHub: Route> commands, will route your VideoHub source to a destination. I also use the <VideoHub: Rename Source> and <VideoHub: Rename destination> commands to name the ports.

I have one "button" called "Sunday Service" that sets all 40 destinations. I have another button that route my feed from the Baptism to my Camera 6. I have another button for Memorial that bypasses the video switch and sends my ProPresenter Feed direct tot he main Screen. These last two, and others, only switch the ports needed. When I am done, I hit Sunday Service again.

@skermanator
Copy link

Looking at using this but it does not seem to work on the 288 x288. Works fine on a 12x12

@BaseballJim
Copy link
Contributor Author

BaseballJim commented Dec 8, 2021 via email

@skermanator
Copy link

skermanator commented Dec 8, 2021 via email

@krocheck
Copy link
Member

krocheck commented Dec 8, 2021

Could you upload the saved file as an attachment for us to take a look?

@skermanator
Copy link

VideoHub.txt
Sure thing, See attached

@krocheck
Copy link
Member

krocheck commented Dec 9, 2021

@skermanator what do you see in the log? based on my read you should either see an error or an info indicating success. The file’s format does seem fine.

@skermanator
Copy link

Companion Log
No Errors, This was a Save then a load.

@BaseballJim
Copy link
Contributor Author

BaseballJim commented Dec 10, 2021 via email

@skermanator
Copy link

Telnet Output.txt
I Telnet into the router, found 2 interesting things.

  1. No Names (however on the GUI there is)
  2. The numbering didnt start at 1.

Also interesting development. Only the first pair is currently changing. The First pair will run correctly. So if its 154 154 it will change output 153 to input 153

@BaseballJim
Copy link
Contributor Author

BaseballJim commented Dec 12, 2021 via email

@skermanator
Copy link

VideoHub4.txt
This is the companion output save file.
We have SDI cards in the first 15+ slots and optical on the last 10+ slots.
Blackmagic control is fine, routing is no issue and naming is all there.

The companion save is reporting correctly as well.

@skermanator
Copy link

Manual Telnet
Update.. I can manual change the routing Via telnet with the following expression.
This is working compeatly, I am not sure what expression companion is using on the load but this is how the 288x288 is wanting to see it

@BaseballJim
Copy link
Contributor Author

BaseballJim commented Dec 13, 2021 via email

@skermanator
Copy link

only the first pair will change when I use companion load. the other 287 pairs do not work.

@krocheck
Copy link
Member

is the instance configuration set for 288 inputs and 288 outputs?

@skermanator
Copy link

companion

@BaseballJim
Copy link
Contributor Author

BaseballJim commented Dec 13, 2021 via email

@BaseballJim
Copy link
Contributor Author

BaseballJim commented Dec 13, 2021 via email

@krocheck
Copy link
Member

They're for the original pancake routers that had a 'monitoring' output with each output effectively doubling the outputs. A 16x16 was actually 16x32, but it was addressed as two 16x16 levels with the same inputs. We had a request long ago to add that support.

@CoBot3000
Copy link

only the first pair will change when I use companion load. the other 287 pairs do not work.

Hey Team,
Did we manage to solve the issue of only the first pair changing?
Was having a play today and still seems like it is still an issue.

Regards,
Jonathan

@skermanator
Copy link

skermanator commented Oct 20, 2022 via email

@CoBot3000
Copy link

CoBot3000 commented Oct 21, 2022

Hey Team, I have figured out how to get it to read/load all pairs.

I have attached my config for our small router.

So what needs to happen: (I will try lay it out as simple as possible, refer to attached doc)


+ Destination Number (eg. 0)
+ Space
+ Input Number (eg. 0)
+ Space
+ Dash (-)
+ Enter

So then it will look something like this:
0 0 -
1 1 -
etc...

You need to have those spaces, dash and the enter for it to work.
From this, is someone able to fix it so that companion can save the route state as that?


VideoHub.txt

@BaseballJim
Copy link
Contributor Author

CoBot3000 I assume you are talking about the 288x288 router? The format for the 40x40 and smaller doesn't require the "-" at the end of the line. If the 288x288 does that would explain why the big router doesn't work with the current companion save/restore. Not sure what the "-" would do to the 40x40 and smaller. I don't have a big router nor do I have the project loaded anywhere to work on. I use companion with a 40x40 and 20x20 and it works fine.

@CoBot3000
Copy link

ah ok, we did the test on the 72 x 72 router.
We don't have a smaller one on hand, but when we do I could do a test with the '-' and see what happens.

@BaseballJim
Copy link
Contributor Author

BaseballJim commented Oct 23, 2022 via email

@CoBot3000
Copy link

CoBot3000 commented Oct 23, 2022 via email

@BaseballJim
Copy link
Contributor Author

BaseballJim commented Oct 23, 2022 via email

@BaseballJim
Copy link
Contributor Author

BaseballJim commented Oct 23, 2022 via email

@BaseballJim
Copy link
Contributor Author

BaseballJim commented Oct 26, 2022 via email

@cookdoeyl
Copy link

Hi all. It appears this issue has been open for a while, and no comment has been made over a year. I have an Universal Videohub 72, and am experiencing the same issue I believe. When I have a Companion button with multiple "Route" actions, only the first Route action occurs, all of the others appear to be ignored. Has any more investigation been made into this? Running Companion v3.1.1, Videohub Module v2.1.3, BMD Videohub Firmware 8.0.1.

@skermanator
Copy link

skermanator commented Dec 30, 2023 via email

@cookdoeyl
Copy link

Actually, I found the other way to solving my problem. I didn't see the Load/Save Routes File command. I was trying to use individual actions. Routes file works for me.

@philipdroberts
Copy link

Not sure if I should open a new issue or not. If I should please let me know or move this post.

I have a Universal Video hub 72 (so 72x144)

Should the "Save Routes" command also dump the input and output names into the file? If so it's not doing that for me.

I'm not a coder but am comfortable in command line/telnet if needed to help sort out what is or isn't happening.

@CoBot3000
Copy link

Hey Team, I have figured out how to get it to read/load all pairs.

I have attached my config for our small router.

So what needs to happen: (I will try lay it out as simple as possible, refer to attached doc)


+ Destination Number (eg. 0)
+ Space
+ Input Number (eg. 0)
+ Space
+ Dash (-)
+ Enter

So then it will look something like this: 0 0 - 1 1 - etc...

You need to have those spaces, dash and the enter for it to work. From this, is someone able to fix it so that companion can save the route state as that?

VideoHub.txt

Hey Philip,
Refer to my earlier message.
This is the best way I have found for now.

Just save once, then edit it to look like what I mentioned and then when you need to make changes, just adjust the numbers.
Just note that 0 = 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants