Web interface - command line, Selections, Setting intensity – ETC Unison Mosaic Designer v1.11.0 User Manual
Page 174: Setting rgb, Command line

Unison Mosaic Designer User Manual
Web interface - Command line
The Controller has a command line entry box in the
page of its web interface. Text entered in this com-
mand line is interpreted by a Lua script specified by the user as part of the project configuration. Users may write
their own scripts if they wish (see
) but a standard script “commandline.lua” is provided in the
resources directory of Unison Mosaic Designer.
IMPORTANT: Note that by default there is no command line script installed. Most installations will not require a
command line and so it is inactive by default. If you wish to use the standard command line script you must use
the “Custom Command Line Parser” option on the File menu to select the script.
The command line syntax defined in the standard commandline.lua script has the following commands, where
x,y and z represent numbers and [] indicates optional syntax:
Selections
x
x-y
x/y
x-y/z
where x, y and z are the fixture number, '-' selects a range and '/' combines discrete selections or ranges.
Setting intensity
x@y[%][tz]
where x is the fixture number, y is the level (either as a DMX value or as a percentage) and z is an optional time in
seconds. If a time is not specified then it is treated as a snap change.
Examples:
1@127
Set intensity of fixture 1 to 127 immediately
2@50%
Set intensity of fixture 2 to 50% (127) immediately
3@100%t5.5
Set intensity of fixture 3 to 100% fading over 5.5 seconds
Setting RGB
Setting red, green and blue uses the same syntax as intensity, but replacing the @ with r for red, g for green, and
b for blue.
Examples:
1r255
Set red of fixture 1 to 255 immediately
3g0
Set green of fixture 3 to 0 immediately
7b100%t2
Set blue of fixture 7 to 100% fading over 2 seconds
Note that the default values for red, green and blue are 100% (255) to give white. So to make a fixture output the
colour red then you will need to set green and blue to zero.
You can also apply multiple settings to the same selection of fixtures in a single command. For example:
- 174 -