CRGBLight

Parent Previous Next

A very common DMX controlled light is one with four channels that does Red, Green and Blue colors.  Show Director Control has provided a TYPE for this light.  The Control for the light is in the PIN (or CUSTOM1) column and is light specific as to how values control the light.  Typically 0 turns the light off and 255 will use the values of Red, Green and Blue to set color and intensity.  Your lamp may have other features that are controlled using the PIN column.  Consult your manual.  To specify a color, you need to have the start of the Effect Description have a '#RRGGBB' hexadecimal value.  These values are two hex characters each for red, green and blue.  So, for example, #FF0000 would be full red.  #00FF00 would be full Blue, etc.  #7F0000 would be half intensity red.  #00FFFF would be bright cyan.  If you provide a duration, the light will turn on for than amount of time and then turn itself off.


SD Column Name

DMX

Note

TYPE


Must be "CRGBLight"

CONTROL

Controller

One DMX controller universe per serial USB connection

MODULE

Channel

Values 1 to 512 are allowed.  Each CRGBLight uses 4 contiguous channels.  Next device must be 4 higher than the value used here.

DUR

The duration that this channel will have this value before returning to zero

If duration is zero (00:00) then the channel is set to value permanently, otherwise max duration is 99 seconds

PIN or CUSTOM1

Control value to place on the Channel

Values 0 to 255 are allowed.  Typically 0 is off and 255 uses the color and intensity provided.  Other values are light specific features like blinking and fade.

Effect Description

Color and Intensity of the light

Values #000000 to #FFFFFF are allowed



Here is an example of what a SD script might look like using CRGBLight commands:


CUE

HH MM SS FF

TYPE

CONTROL

MODULE

DUR

PIN

Event Description

1

00  00  00  00

CRGBLight

C1

1

01:15

255

#FFFFFF bright white for 1.5 seconds

2

00  00  05  00

CRGBLight

C1

1

00:00

255

#FF0000 full red on

3

00  00  10  15

CRGBLight

C1

1

00:00

255

#A5184C switch to custom color

4

00  00  12  15

CRGBLight

C1

1

00:00

0

Turn light off