0

reliable and working TCP commands

Hi there We need to do something pretty simple but seemingly impossible using the variety of plugins available. We have a  Xt224 player and the intention is to trigger a black magic hyperdeck to play. this should involve sending the play command to port 9993 but it singularly fails to transmit. Is there a reliable plug in thats known to work ? 

cheers

Alastair

7 comments

  • 0
    Avatar
    Bright Scripters

    Are you able to control hyperdeck using telnet to port 9993?

    https://forum.blackmagicdesign.com/viewtopic.php?f=4&t=69254

  • 0
    Avatar
    Alastair Young

    Yes, no problem communicating from pc. We have got its responding from brightsign projects after some rejigging of one of the plugins. Theres still a number of things to work out not least being sending commands to more than one hyperdeck at the same time . adding delays between the command doesnt seem to work. i can send tcp commands to 2 hyperdecks simultaniously from a control system without issue so dont see why it shouldnt work, just cant get it to.... 

     

     

     

  • 0
    Avatar
    Bright Scripters

    Glad to hear that you were able to make progress.

    Adding delays can be tricky at times if async commands are being used.

    Being it TCP based communication, I think you'd need to initiate two simultaneous connections, or open/close same connection as needed.

    You could send over your plugin and we could take a look.

  • 0
    Avatar
    Shaun

    Have you checked the Eol requirements and that they line up with the plugin you're repurposing? https://documents.blackmagicdesign.com/UserManuals/HyperDeckHDManual.pdf?_v=1627628411000 Page 58.

    https://brightsign.atlassian.net/wiki/spaces/DOC/pages/370673230/roTCPStream

    Either change or the SetStreamEol to 10 or add that line

     

  • 0
    Avatar
    Alastair Young

    So changing the end of line from 10 to 13 made things work.  The next issue is that sending commands to two seperate units from one event doesnt work. the first executes, the second doesnt. Unplug the lan cable from either hyperdeck and the other works. Sending commands from two seperate events  { jpgs on a 1 second timeout} works  obviously a second apart, but sending a command, pausing for 1000ms and sending a command to the 2nd unit from 1 event doesnt which is altogether odd.   Adding a 2nd zone and sending all the commands to first deck from 1st zone and the second deck from the 2nd zone having used link zone commands to link the two works but the 2nd zone lags the first very slightly so its not spot on.  adding a third zone to set the timings and have zone 1 and two both slaved from that sorts out the timing but unfortunately its back to only one unit responding. 

    So currently got a system that sort of works in that multiple decks can be controlled reliably but you need a zone per deck and the sync is within a frame but not exact. This is sort of Okish and it allows hi bitrate Pro res fiiles to be played from brightsign. The next thing is that the Hyperdecks sync that they claim doesnt actually work as claimed so this was never going to be genlocked and frame acurate as allthough its all over the marketing, it turns out that theres issues and they are working to fix it and have confirmed that it doesnt work.  

  • 0
    Avatar
    Bright Scripters

    If you need to control the decks from a single zone, you could try and use a Timer event instead of a pause.

    Those are very different from one another and a Timer Event might get you the desired result.

  • 0
    Avatar
    Harrow, Aaron

    Hi, 

    I am struggling with similar issues. Alastair do you think you could post more information on how you got the plugin to work (and which plugin you were using?)

    Thanks!

Please sign in to leave a comment.