Application Guide
DMXking.com • JPK Systems Limited • New Zealand
0104-701-1.0
10
EXAMPLE SHOW SCRIPTS
Run script upon power up, show001 looped.
DMXKING
VER=0.1
AUTORUN
show001
show000
Run script only upon Play, show006 followed by show002 followed by show006 followed by show003 then stop.
DMXKING
VER=0.1
AUTOOFF
show006
show002
show006
show003
*Note each line must contain CR+LF characters at the end. Windows Notepad generates CR+LF on line ends however you’ll need
to check your Linux/OS X text editor is configured to do this.
ART-NET CONTROL
Underlying record/playback is controlled by ArtTrigger commands. See the latest version of the ArtNet specification for details of
the exact message format.
OEMCode 0xFFFF or 0x6A6B are accepted through either unicast or broadcast ArtTrigger messages.
Key = 3, SubKey = show number (0 – 255 where 0 is the script file “show”)
Key = 2, SubKey = command (see table below)
SubKey value (for Key = 2)
Command
‘G’ (Hex 0x47)
Show GO
‘S’ (Hex 0x53)
Show STOP
‘R’ (Hex 0x52)
Show RECORD
‘P’ (Hex 0x50)
Show PAUSE (not implemented in v3.0)
Typical ArtTrigger command sequences:
Sequence of ArtTrigger messages
Action
ArtTrigger Key = 3, SubKey = 1 + ArtTrigger Key = 2, SubKey = ‘G’
Start playback of show001
ArtTrigger Key = 2, SubKey = ‘S’
Stop playback or recording of current show (if any)
ArtTrigger Key = 3, SubKey = 99 + ArtTrigger Key = 2, SubKey = ‘R’
Start recording show099
ArtTrigger Key = 3, SubKey = 0 + ArtTrigger Key = 2, SubKey = ‘G’
Start script file playback