Matrix (DDF-Syntax) DMXC3: Difference between revisions

From English DMXC-Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
{{Chaptertitle| Version=DMXControl 3.2.0}}
{{Chaptertitle|Version=DMXControl 3.2.0}}
 
{{DMXC3_Manual-Navigation_DDF
{{DMXC3_Manual-Navigation_DDF
|backLink = Color_(DDF-Syntax)_DMXC3
|backLink = Color (DDF-Syntax)_DMXC3
|backText = Color
|backText = Color
|forwardLink = Radix_(DDF-Syntax)_DMXC3
|forwardLink = Radix (DDF-Syntax)_DMXC3
|forwardText = Radix
|forwardText = Radix
}}
}}


= Matrix =
= Matrix =
== Basic Structure ==
== Basic structure ==
{| class="wikitable toptextcells"
{| class="wikitable toptextcells"
|-
|-
Line 85: Line 85:
** <code>rowfirst</code>: Changes the automatic patch order
** <code>rowfirst</code>: Changes the automatic patch order


=== Matrices with RGB+-Colors ===
=== Matrices with RGB+ colors ===
{| class="wikitable toptextcells"
{| class="wikitable toptextcells"
|-
|-
Line 129: Line 129:
''For the permissible values of the attributes <code>rows</code> and <code>columns</code>, see the previous section simple matrix.''
''For the permissible values of the attributes <code>rows</code> and <code>columns</code>, see the previous section simple matrix.''


<!--{{BoxWichtig|Text=The offset for each additional color beyond the three primary colors red, green, and blue may only be assigned once within a matrix. When defining, the colors must be arranged in ascending order based on their respective offset value.}}-->
<!--{{{{Manual Box | de | Important | The offset for each additional color beyond the three primary colors red, green, and blue may only be assigned once within a matrix. When defining, the colors must be arranged in ascending order based on their respective offset value.}}-->


=== Monochrome Matrices ===
=== Monochrome matrices ===
{| class="wikitable toptextcells"
{| class="wikitable toptextcells"
|-
|-
Line 146: Line 146:
| Monochrome matrix with one row and four columns, manually patched
| Monochrome matrix with one row and four columns, manually patched
| <syntaxhighlight lang="xml">
| <syntaxhighlight lang="xml">
<matrix rows="
<matrix rows="1" columns="4" monochrome="true" >
 
1" columns="4" monochrome="true" >
   <dimmer dmxchannel="0" />
   <dimmer dmxchannel="0" />
   <dimmer dmxchannel="1" />
   <dimmer dmxchannel="1" />
Line 174: Line 172:
''For the permissible values of the attributes <code>rows</code> and <code>columns</code>, see the previous section simple matrix.''
''For the permissible values of the attributes <code>rows</code> and <code>columns</code>, see the previous section simple matrix.''


[[de:Matrix (DDF-Syntax) DMXC3]]
[[Category: DDF DMXControl 3]]
[[Category: DDF DMXControl 3]]

Latest revision as of 14:35, 10 February 2024

Books.png Matrix (DDF-Syntax) DMXC3 Article describes
DMXControl 3.2.0
Arrow back.png Color
Radix Arrow forw.png
Table of Contents
Part 1: Basics
Part 2: Functions
Part 3: Procedures
Part 4: Examples


Matrix

Basic structure

Variant Code
RGB matrix with five rows and five columns, automatically patched
<matrix dmxchannel="0" rows="5" columns="5"/>

Matrix with five rows and five columns, where addressing is automatic from top left to bottom right, row by row:

  • First pixel on DMX channels 1 to 3, arranged in the upper left corner.
RGB matrix with two rows and three columns, manually patched
<matrix rows="2" columns="3">
  <rgb>
    <red dmxchannel="0" />
    <green dmxchannel="1" />
    <blue dmxchannel="2" />
  </rgb>
  <rgb>
    <red dmxchannel="3" />
    <green dmxchannel="4" />
    <blue dmxchannel="5" />
  </rgb>
  <rgb>
    <red dmxchannel="6" />
    <green dmxchannel="7" />
    <blue dmxchannel="8" />
  </rgb>
  <rgb>
    <red dmxchannel="9" />
    <green dmxchannel="10" />
    <blue dmxchannel="11" />
  </rgb>
  <rgb>
    <red dmxchannel="12" />
    <green dmxchannel="13" />
    <blue dmxchannel="14" />
  </rgb>
  <rgb>
    <red dmxchannel="15" />
    <green dmxchannel="16" />
    <blue dmxchannel="17" />
  </rgb>
</matrix>

Matrix with two rows and three columns, where addressing is manual from top left to bottom right, row by row:

  • RGB pixel top left: DMX channels 1 to 3.
  • RGB pixel top middle: DMX channels 4 to 6.
  • ...
  • RGB pixel bottom right: DMX channels 16 to 18.
Attribute rows columns
Description Number of rows of the matrix Number of columns of the matrix
Permissible Attribute Value 1 to 256 1 to 256


Important Hint If the matrix is defined as an RGBW matrix, the "White Auto Mix" function of the Hardware Abstraction Layer (HAL) takes effect. However, in the Device Control, only entries for red, green, and blue continue to be generated.

Additional Attributes

The matrix can be further customized with additional attributes:

  • matrix (main tag)
    • Color offset: Specifies the DMX channels for the RGB+-colors white, amber, etc.
    • monochrome: Matrix as a monochrome matrix
    • rowfirst: Changes the automatic patch order

Matrices with RGB+ colors

Variant Code
RGBW matrix with two rows and six columns, automatically patched
<matrix dmxchannel="0" rows="2" columns="6" whiteoffset="3" />

Matrix with two rows and six columns, where addressing is automatic from top left to bottom right, row by row:

  • First pixel of the RGBW matrix on DMX channel 1, arranged in the upper left corner.
  • Offset for control channel of the white LED at value 3, since LED color is in the fourth position in the control sequence (RGBW LED type).
Attribute whiteoffset
Description Offset of the white LED
Permissible Attribute Value Greater than 3

For the permissible values of the attributes rows and columns, see the previous section simple matrix.


Monochrome matrices

Variant Code
Monochrome matrix with five rows and five columns, automatically patched
<matrix dmxchannel="0" monochrome="true" rows="5" columns="5"/>

Matrix with five rows and five columns, where addressing is automatic from top left to bottom right, row by row:

  • First pixel on DMX channel 1, arranged in the upper left corner.
  • Attribute monochrome with the value true generates a matrix with only one color.
Monochrome matrix with one row and four columns, manually patched
<matrix rows="1" columns="4" monochrome="true" >
  <dimmer dmxchannel="0" />
  <dimmer dmxchannel="1" />
  <dimmer dmxchannel="2" />
  <dimmer dmxchannel="3" />
</matrix>

Matrix with one row and four columns, where addressing is manual from left to right:

  • Attribute monochrome with the value true generates a matrix with only one color.
  • 1st pixel (left): DMX channel 1.
  • 2nd pixel: DMX channel 2.
  • 3rd pixel: DMX channel 3.
  • 4th pixel (right): DMX channel 4.
Attribute monochrome
Description Generating a monochrome matrix
Permissible Attribute Value true

For the permissible values of the attributes rows and columns, see the previous section simple matrix.