External Application Control

  • I've written an application that I would like to have trigger certain lighting cues. So when an event happens in my application it will trigger various lighting effects.

    Ideally I didn't want to develop a complete lighting application to do this, so DMXControl 3 looks ideal as I can run just the kernel without the GUI. In this way the user does not need to logon and open the GUI for lighting to work.

    My question is - how do I control cues with just the kernel running? Ideally I would like a simple TCP connection I can establish and use to initiate cues at the correct moments. I know others use midi inputs, but this seems a complex way round to achieve this. I'd like to just connect and that'd be it.

    Do you have any suggestions? Is there a documented protocol for remotely starting cues?

  • Hallo Trikkit,

    DMXControl 3 supports Art-Net as input, that would be the easiest way to remote control it. Specification can be found here: http://www.artisticlicence.com/WebSiteMaster/…des/art-net.pdf

    The whole protocol is based on UDP, so you don't even have to establish a connection. I haven't tested it with DMXControl, but it should be possible that you just implement the sending of ArtDmx packets, but it would be nice if you also reply to ArtPoll packets. Depending on the language you are using there might also be a ready-to-use implementation of the protocol.

    Stefan

  • Hi,

    Do you have any suggestions? Is there a documented protocol for remotely starting cues?

    the network-protocoll, for the comunication between GUI and Kernel is not documented. But like Stefan said, you can use Artnet. In our lightshow for the 10 aniversary of DMXControl this year (you can watch the lightshow and the beamershow here and here) we used a Artnet-connection between my laptop with DMXControl 2.12.2 and Quasis pc with DMXC 3 Beta to triger some effects for Quasis LED-matrixes. This worked fine (like you can see in the first video ;))
    Regards
    JP

    im Falle eines Falles klebt Gaffa einfach alles, denn Gaffa ist dein Freund und Helfer :thumbup:

  • Thanks - that should be perfect as I've messed around with ArtNet from my application previously and did some basic control. The controller I use supports ArtNet so this is perfect.

    Do I just tick the box DMX-In Enabled on the interfaces against the ArtNet entry?

    I can see the DMX-In as triggers, so that part of it makes perfect sense. Thanks for the pointer!

  • However, if you are using Art-Net, you won't get notification whether the cue actually fired or not. Neither you are able to get the list of cuelist you may might want to be able to control (or the cues). We are currently working on a protocol (using OSC and an own protocol) to support the use case of a remote control application. However, we won't and can't say when the "final" specification will be released. So my advice would be, stick to Art-Net for the time being, until we made progress in specifying the protocol.


    Dennis

  • Thanks for the pointers, very helpful. I'm looking forward to the specification, whenever you get that released! I guess getting version 3 as an official release is the biggest priority right now?

  • Newly created posts will remain inaccessible for others until approved by a moderator. The last reply was more than 365 days ago, this thread is most likely obsolete. It is recommended to create a new thread instead.