SNVT_color_2

Overview:

Color.   

Details:

Resource Set: Standard 00:00:00:00:00:00:00:00-0
Index: 190
Obsolete: no
Size: 5
Programmatic Name: SNVT_color_2
Neuron C Type:
Structure
encodingColor encoding..  Color encoding specified by the color_value union; additional encodings may be added. 
 
color_encoding_t
color_valueColor value..  Color value encoded as specified by the encoding field. 
 
Union
CIE1931_lumenCIE 1931 color space with lumen..  CIE 1931 color space with Y output in lumen. 
 
Structure
xCIE 1931 x value.  (CIE 1931 color space coordinate.) .  CIE 1931 x-axis color value. 
 
unsigned short
Minimum: 0
Maximum: 148
Invalid: 255
Scaling (A,B,C): 5,  -3,  0
Scaled value: 5 *10 -3 *(Raw+0)
Resolution: 0.005
yCIE 1931 y value.  (CIE 1931 color space coordinate.) .  CIE 1931 y-axis color value. 
 
unsigned short
Minimum: 0
Maximum: 168
Invalid: 255
Scaling (A,B,C): 5,  -3,  0
Scaled value: 5 *10 -3 *(Raw+0)
Resolution: 0.005
absolute_YAbsolute luminance.  (lumen) .  Absolute luminance. 
 
unsigned long
Minimum: 0
Maximum: 65534
Invalid: 65535
Scaling (A,B,C): 1,  1,  0
Scaled value: 1 *10 1 *(Raw+0)
Resolution: 10
CIE1931_percentCIE 1931 color space with percent..  CIE 1931 color space with Y output in percent of maximum lumen output of the lamp. 
 
Structure
xCIE 1931 x value.  (CIE 1931 color space coordinate.) .  CIE 1931 x-axis color value. 
 
unsigned short
Minimum: 0
Maximum: 148
Invalid: 255
Scaling (A,B,C): 5,  -3,  0
Scaled value: 5 *10 -3 *(Raw+0)
Resolution: 0.005
yCIE 1931 y value.  (CIE 1931 color space coordinate.) .  CIE 1931 y-axis color value. 
 
unsigned short
Minimum: 0
Maximum: 168
Invalid: 255
Scaling (A,B,C): 5,  -3,  0
Scaled value: 5 *10 -3 *(Raw+0)
Resolution: 0.005
percent_YLuminance  (% of full level.) .  Y output in percent of maximum lumen output of the lamp. 
 
unsigned long
Minimum: 0
Maximum: 10000
Invalid: 65535
Scaling (A,B,C): 1,  -2,  0
Scaled value: 1 *10 -2 *(Raw+0)
Resolution: 0.01
RGBRGB color value..   
 
Structure
redRed component..  Red component for RGB color. 
 
unsigned short
Minimum: 0
Maximum: 255
Scaling (A,B,C): 1,  0,  0
Scaled value: 1 *10 0 *(Raw+0)
Resolution: 1
greenGreen component..  Green component for RGB color. 
 
unsigned short
Minimum: 0
Maximum: 255
Scaling (A,B,C): 1,  0,  0
Scaled value: 1 *10 0 *(Raw+0)
Resolution: 1
blueBlue component..  Blue component for RGB color. 
 
unsigned short
Minimum: 0
Maximum: 255
Scaling (A,B,C): 1,  0,  0
Scaled value: 1 *10 0 *(Raw+0)
Resolution: 1
color_temperatureColor temperature.  (degrees Kelvin.) .   
 
unsigned short
Minimum: 56
Maximum: 150
Invalid: 255
Scaling (A,B,C): 50,  0,  0
Scaled value: 50 *10 0 *(Raw+0)
Resolution: 50
Formats:

SNVT_color_2:  text(("EC=%m ",encoding),((encoding == 0)?("X=%f Y=%f ABSOLUT_Y=%d",color_value.CIE1931_lumen.x,color_value.CIE1931_lumen.y,color_value.CIE1931_lumen.absolute_Y):((encoding == 1) ?("X=%f Y=%f PERCENT_Y=%f",color_value.CIE1931_percent.x,color_value.CIE1931_percent.y,color_value.CIE1931_percent.percent_Y):((encoding == 2) ?("RED=%d GREEN=%d BLUE=%d",color_value.RGB.red,color_value.RGB.green,color_value.RGB.blue):((encoding == 3) ?("COL_TEMP=%d",color_value.color_temperature):("UNKNOWN"))))))

Used by:

SCPTsceneColor  SFPTisiLampActuator