qlight

Home QDmx ql console Developer

Introduction Guide Admin tool Observer Qt API Java API Command Line Interface Download

QDmx Command Line Interface

This page give you examples on how to use the Command Line Interface.

To be continued...

Server

Start server

    qdmx startserver
  

Stop server

    qdmx stopserver
  

Ping server

    qdmx ping
  

Setup server executable

    qdmx setupqdmxsv /path/to/qdmxsv
  

Universes management

List universes

    qdmx list
  

Configure universe

    qdmx configure artnet:192.168.0.255:0:OUT
  

Get or configure universe

    qdmx get dummy:0
  

Universe

Start universe

    qdmx startuniv 1
    - or -
    qdmx startuniv artnet:192.168.0.255:0:OUT
  

Set active channels count

    qdmx setactive 1 12
    - or -
    qdmx setactive artnet:192.168.0.255:0:OUT 12
  

Send DMX data

    qdmx setchannel 1 0 255 128 255 32
    - or -
    qdmx setchannel artnet:192.168.0.255:0:OUT 0 255 128 255 32
  

Stop universe

    qdmx stopuniv 1
    - or -
    qdmx stopuniv artnet:192.168.0.255:0:OUT
  

Simple shell script

#!/bin/bash

UNIV="artnet:192.168.0.255:0:OUT"

# Ensure that universe is configured
qdmx get $UNIV
if [ $? -ne 0 ]; then
  echo "Unable to configure !"
  exit 1
fi

# Start universe : DMX will be send from this point
qdmx startuniv $UNIV

# Defines how many channels are used (to prevent transmiting 508 empty channels for nothing)
qdmx setactive $UNIV 4

# Set channel1=128 channel2=255 channel3=255 channel4=128
qdmx setchannel $UNIV 0 128 255 255 128

sleep 1

qdmx setchannel $UNIV 0 255 255 128 128

sleep 1

qdmx setchannel $UNIV 0 255 128 128 255

(c) Copyright 2006, 2009 Julien Etelain. All rights reserved. - Icons (c) Copyright Everaldo.com