how to trigger linux command with a QLC cue?

Ask a generic question about the usage of QLC+, not related to a particular operating system
Post Reply
shivahoj
Posts: 27
Joined: Mon Sep 23, 2019 5:26 am
Location: Hildesheim, Germany
Real Name: Dirk Engelmann

Hello, I bought the awesome Radiator ILDA laser controller(https://www.neoncaptain.com/#/), and want to control ist via the built-in network port, or its MIDI ports.
Since most of the MIDI commands to change settings, or select laser patterns, are NRPN Adresses(Non-Registered Parameter Numbers), and I don't know how to create those in QLC, I found out how to send those commands via a connected network cable.

I would create simple button-press&release files in linux(the QLC system runs on linux) that, when sent to the radiator, do the trick.
one such file would look like:

Code: Select all

s 23 true
s 23 false
for pressing and releasing button 23.
This would be sent to the radiator via cat and netcat to the radiator port 4815 on IP 10.0.0.23:

Code: Select all

cat ./se23 |nc 10.0.0.23 4815
My Question is:
How can I fire up a linux shell script containing the above one-liner with a QLC+ cue?l
Fixture: GLP Impression Spot one w/ Artnet/DMX (2x)
Macbook pro, OSX 10.13.4, QLC+ 4.12.2
Generic touch screen PC, with debian 10 linux, QLC+ 4.12.2
MIDI: AKAI APC40, Doepfer pocket fader, Radium 49 Keyboard
DMX: enttec USB pro
User avatar
mcallegari
Posts: 4712
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

Post Reply