Difference between revisions of "Rgb"

From HSYCO
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
Controls an RGB device, like the Philips Hue lights or a group of three adjacent DMX channels for the primary colors: red, green and blue.
 
Controls an RGB device, like the Philips Hue lights or a group of three adjacent DMX channels for the primary colors: red, green and blue.
  
[[File:UI Object dmxrgb.png]]
+
[[File:UI Object rgb.png]]
  
 
== Parameters ==
 
== Parameters ==
*'''address''': the datapoint id of the Hue light or the DMX numerical address. Wusing just one DMX gateway, address should be a number between 1 and 512. If there is more than one gateway, 1000 must be added to the DMX bus number for the second gateway, 2000 for the third one and so on. For example, 2100 stands for the address 100 on the DMX bus controlled by the third gateway
+
*'''address''': the datapoint id of the RGB device or the DMX numerical address. When using just one DMX gateway, address should be a number between 1 and 512. If there is more than one gateway, 1000 must be added to the DMX bus number for the second gateway, 2000 for the third one and so on. For example, 2100 stands for the address 100 on the DMX bus controlled by the third gateway
 
*'''position''': the object's position. Use the pixels or rows and columns coordinates format
 
*'''position''': the object's position. Use the pixels or rows and columns coordinates format
 
*'''label''': the text label on the panel. Can contain HTML tags
 
*'''label''': the text label on the panel. Can contain HTML tags
  
 
== Syntax ==
 
== Syntax ==
  (dmxrgb <address>; <position>; <label>)
+
  (rgb <address>; <position>; <label>)
 
E.g.
 
E.g.
  (dmxrgb 1; x10y20; Open Space)
+
  (rgb 1; x10y20; Open Space)

Latest revision as of 12:29, 7 September 2018

Note  For a description and a complete list of UI Objects, see UI Objects.

Controls an RGB device, like the Philips Hue lights or a group of three adjacent DMX channels for the primary colors: red, green and blue.

UI Object rgb.png

Parameters

  • address: the datapoint id of the RGB device or the DMX numerical address. When using just one DMX gateway, address should be a number between 1 and 512. If there is more than one gateway, 1000 must be added to the DMX bus number for the second gateway, 2000 for the third one and so on. For example, 2100 stands for the address 100 on the DMX bus controlled by the third gateway
  • position: the object's position. Use the pixels or rows and columns coordinates format
  • label: the text label on the panel. Can contain HTML tags

Syntax

(rgb <address>; <position>; <label>)

E.g.

(rgb 1; x10y20; Open Space)