[ANSWERED] Controlling Projectors with TCP
liminal_andy last edited by Woland
I'm in a difficult situation with a Barco 4K40 projector that I am hoping Isadora can get me out of. Due to a failure in the secondary projector, the 4K40 now needs to hit two screens at different depths at different moments in the show (sometimes focused near the upstage, sometimes near a screen downstage).
This projector has motor control for its lens as well as a JSON RPC/Pulse Based remote control protocol that can run over TCP. Here's the manual for this API. My understanding is that if I want to adjust the focus of the lens, I need to send something like:
And I assume this goes in the TCP Send Data actor in Isadora, converted from string to hex. I also believe that if I put P1 in place of the hex for the value currently supplied as 1, I can adjust that focus target position on the actor itself. However, I am largely unfamiliar with the behavior of JSON over the TCP actors. Do I need to serialize the string (removing newlines, and tabs?) and then convert to hex? Or do I leave those as-is? Is there a better way to communicate with the projector?
Thanks for any assistance that can be provided. Show is tomorrow and they just dumped this on me an hr ago :)
Unfortunelty I don't have any experience with this format of commands either, so without the hardware to do a little trial/error testing I am no help.
I do know that bitfocus companion has a number of addons for Barco support. Perhaps you could use it as middle ware, since you can control it from Isadora rather easily.
The projector does except ArtNet (DMX over Ethernet).
DMX controlling tables
Maybe this would be the more common way to do it.
There are ArtNet Plugin Actors for Isadora, but I did not use them yet, as I found them to be a bit unintuitive.
Instead I use QLC+, a free ArtNet/DMX Software, which in turn can be controlled by OSC or Midi.
Instead of moving the lens to a specific position, you could save profiles and recall them. there are specific DMX values to recall a specific profile. (Controlling the motors directly is possible as well, if you switch to the advanced DMX mode).
If you need help with this, send me a message.
liminal_andy last edited by
@dillthekraut and @DusX thank you both for your replies. As it turns out, yes, serializing the JSON and using the TCP actor can work with this unit, though for anyone looking at this thread in the future the DMX route would be much easier I assume. We didn't have that capability in our case, but it would be much lower friction!
Just to make this clear for everyone interested in this. The Projector offers DMX connection via XLR connectors and cables. This is helpfull to integrate all the functionality to an already existing light controlling desk.
But beside that, the projector offers ArtNet over the usual ethernet connection, which should exist in most cases anyway for easier configuration.
This is as well the case for others brands 'bigger' projectors, like epson or panasonic. But most of them do not offer the classic DMX via XLR.