Posts

Even newer commands …

Disco pattern and disco run

Disco run allows a sequence of arbitrary commands to be defined and then for that sequence to be run on the light.  Hold can be used to introduce a delay into the sequence.  Disco pattern is used to define the sequence to run.

The pattern can be changed while the previous pattern is running.

For example:

disco pattern [on;colour <255,0,0>;hold 1; | colour <0,0,255>;hold 0; |LOOP]; 

will define a pattern with two parts, the | separates the parts. The addition of LOOP at the end will make the pattern repeat until stopped manually.  Without the LOOP, the pattern would run once and stop.  The pattern has to be wrapped inside [].

The sequence is started by:

disco run;

and stopped by

disco off;

 

New light commands

Some new commands have been added:

Hold

Hold will delay the start of a command sequence by a specified number of seconds, for example hold 0.3 would delay the start by 300mS (to the accuracy set by the system)

Push and Pop

Push will store the state of the light on a stack, Pop will restore a previously pushed state.  So now you can have a light set appropriately for a task, run another sequence and then restore the light to it’s original state.

Auto Super

Auto super is an addition to the existing auto mode.  Auto will automatically disable and enable a light as the target moves into and out of a predefined area.

In addition super will enable or disable a light dependent on the light having an active track target.

Auto now can have these forms:

auto on <switch time>
auto super <switch time>
auto off

Where switch time is the time taken to transition between the enabled and  disabled states.

See Commands