That essentially boils down to something like this: ndMessage(ogscript.getPrivateString('hosts', 'VideoHub.address'),ogscript.getPrivateString('hosts', 'VideoHub.port'),telnetScript) I couldn't tell if it was failing out, but the router didn't change state. I saw on this thread where it was recommended to use ndmessage, but in my tests, it did nothing. It launches a Terminal instance, types "telnet 192.168.11.128 9990" (the ip address and port) and then the router automatically responds with the current state of settings and waits for your response. That is essentially what I am doing with AppleScript. I can telnet to the VideoHub in terminal on a specific port, and then send paste in that text string. The number on the left is a destination, the number on the right, a source. Ogscript.putPrivateString('hosts', 'VideoHub.port', params.getValue(0x2,0)) Įssentially, this panel builds a text string that looks like this: Ogscript.putPrivateString('hosts', 'VideoHub.address', params.getValue(0x1,0)) tValue(0x2, 0, ogscript.getPrivateString('hosts', 'VideoHub.port')) tValue(0x1, 0, ogscript.getPrivateString('hosts', 'VideoHub.address')) Var appleScriptCommand = "set telnet to \"" + telnetCommand + "\n" + telnetScript + "\n" + "exit" + "\"\n" + Var telnetCommand = "telnet " + ogscript.getPrivateString('hosts', 'VideoHub.address') + " " + ogscript.getPrivateString('hosts', 'VideoHub.port') TelnetScript = telnetScript + i + ' ' + params.getValue(0x3,i) + "\n" Var telnetScript = "VIDEO OUTPUT ROUTING:\n" everything is zero based including the array so we just go ahead and drop it down Var args = įunction tellVideoHub(destination, source) If anyone has experience with the telnet side and wants to jump in, let me know!įunction runAppleScript(applescriptCommand) I couldn't get telnet to work without calling it via AppleScript, but it works fine doing that. It's still a work in progress but it is functioning fine at this point. I needed something simple for volunteers where they could click a clear, distinct, labeled button and have it do the macro. Two RS-422 input and output ports for future implementation are also on the back as well as a USB Type-C port for software configuration and firmware upgrades.I wrote a panel today to send telnet commands to our VideoHub router to make simple routing changes. There is also an Ethernet loop output without PoE to communicate with your destinations. The rear of the unit features an RJ45 Ethernet input with PoE to connect your sources and power the unit, or it can be powered with a separately available C13 power cable. The unit also features power fail protection to preserve your button configurations when power is lost. The buttons can be programmed via USB using the included software for Mac OS X and Windows. Simple push buttons on the front of the unit are configured to control source and destination as well as 10 assignable macro buttons and several configuration buttons. Housed in a 1 RU frame, the Smart Videohub is suitable for use in both large broadcast systems or portable racks for routing live productions over Ethernet. The Videohub Smart Control Pro from Blackmagic Design is a network switching router with 48 programmable buttons for routing sources and destinations over a network.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |