logo

Live Production Software Forums


Welcome Guest! To enable all features please Registers on the forum or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
roverradio  
#1 Posted : Sunday, July 9, 2017 3:31:18 AM(UTC)
roverradio

Rank: Advanced Member

Groups: Registered
Joined: 5/6/2016(UTC)
Posts: 83
United States

Was thanked: 5 time(s) in 5 post(s)
Hi there,

I'm looking to create a script to change an input/output on a Blackmagic Videohub 40x40. I've been able to easily manage to do so via telnet directly (http://documents.blackmagicdesign.com/Videohub/20170424-bc33a9/Videohub_Installation.pdf towards the end - look for ethernet protocol section).

Looking for an example script to point me in the right direction. Essentially I'd like to have a script that sends the VideoHub the following via telnet on it's IP at port 9990:

VIDEO OUTPUT ROUTING: (carriage return)
7 2 (carriage return)
(carriage return)

Any help would be greatly appreciated!

Thanks!

DWAM  
#2 Posted : Sunday, July 9, 2017 4:36:28 AM(UTC)
DWAM

Rank: Advanced Member

Groups: Registered
Joined: 3/20/2014(UTC)
Posts: 2,721
Man
France
Location: Bordeaux, France

Thanks: 243 times
Was thanked: 794 time(s) in 589 post(s)
Hi

vMix 4K and Pro allow to use VB.Net 2.0 scripts. http://www.vmix.com/help19/VBNetScripting.html
Quote:
VB.NET
vMix Scripting supports the majority of VB.NET 2.0 code that will work within a single sub or function.
This means that custom classes and structures are not supported, however you can use the vast majority of the built in base classes in the .NET framework including the handy System.Net.WebClient for downloading data over the internet.

A quick search on Google brings potentially useful information.

query: "telnet commands with vb.net"

For instance

https://www.experts-exch...93295/VB-NET-TELNET.html
https://stackoverflow.co...nding-commands-to-telnet
http://www.tek-tips.com/viewthread.cfm?qid=1729707
and so on...

Good luck!
Guillaume
roverradio  
#3 Posted : Tuesday, August 1, 2017 10:19:36 PM(UTC)
roverradio

Rank: Advanced Member

Groups: Registered
Joined: 5/6/2016(UTC)
Posts: 83
United States

Was thanked: 5 time(s) in 5 post(s)
I've had no luck with this at all following vb.net telnet examples. Not sure if vMix scripting doesn't support, or I'm doing it wrong.

Here's what I am trying to do:

1) connect to x.x.x.x port 9990
2) send the following (<cr> indicates carriage return):

VIDEO OUTPUT ROUTING:<cr>
10 2<cr>
<cr>

Then wait for either ACK or NAK as the response to indicate it was received and processed correctly or not, although frankly I'm not even concerned with response - it will be visually apparent if it worked or not.

Would love to see if someone is able to get this working...I've been at it for 2 hours here with no luck at all.

Thanks!

roverradio  
#4 Posted : Wednesday, August 2, 2017 12:03:51 AM(UTC)
roverradio

Rank: Advanced Member

Groups: Registered
Joined: 5/6/2016(UTC)
Posts: 83
United States

Was thanked: 5 time(s) in 5 post(s)
Well, got it to work (although not as elegant as I would have liked). Had to use http://support.moonpoint...network/Telnet/tst10.php and just processstart it.

Would prefer telnet directly in vMix script, so if anyone has done it let me know.

Thanks!
smudge1977  
#5 Posted : Tuesday, December 4, 2018 11:39:19 PM(UTC)
smudge1977

Rank: Advanced Member

Groups: Registered
Joined: 4/3/2014(UTC)
Posts: 58
Location: UK

Thanks: 19 times
Was thanked: 4 time(s) in 1 post(s)
I have made a DLL you can load as a title that will allow you to control a Black Magic video hub
I have attached the full blend project and also just the DLL - hope this helps some people....
BMD v4.zip (6kb) downloaded 51 time(s). Telnet Control.zip (517kb) downloaded 58 time(s).
thanks 4 users thanked smudge1977 for this useful post.
stevespaw on 12/5/2018(UTC), DWAM on 12/5/2018(UTC), vijay6672 on 12/5/2018(UTC), raugert on 12/5/2018(UTC)
nadav  
#6 Posted : Thursday, October 7, 2021 8:02:52 PM(UTC)
nadav

Rank: Newbie

Groups: Registered
Joined: 1/9/2017(UTC)
Posts: 2
Location: israel

Originally Posted by: smudge1977 Go to Quoted Post
I have made a DLL you can load as a title that will allow you to control a Black Magic video hub
I have attached the full blend project and also just the DLL - hope this helps some people....
BMD v4.zip (6kb) downloaded 51 time(s). Telnet Control.zip (517kb) downloaded 58 time(s).


Hi smudge1977,

Sorry to bring it up after all this time, but could you please explain how to use this DLL file?
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.