Hallo zusammen,
ich erstelle gerade mein erstes ddf. Und nun habe ich eine frage.
Ist dieser code so okay? Oder mache ich es mir zu schwer?
XML
<device>
<manufacturer>Eurolight</manufacturer>
<name>21CH Mega Strobe 768</name>
<channels>
<!-- Dimmer und Fine Dimmer -->
<dimmer dmxchannel="1">
<range type="linear" mindmx="0" maxdmx="255" minval="0" maxval="100"/>
</dimmer>
<dimmer dmxchannel="1" finedmxchannel="2">
<range type="linear" mindmx="0" maxdmx="255" minval="0" maxval="100"/>
</dimmer>
<!-- Farbmischung YRGB -->
<yrgb>
<yellow dmxchannel="3">
<step type="off" mindmx="0" maxdmx="9"/>
<range type="linear" mindmx="10" maxdmx="255" minval="0" maxval="1"/>
</yellow>
<red dmxchannel="4">
<step type="off" mindmx="0" maxdmx="9"/>
<range type="linear" mindmx="10" maxdmx="255" minval="0" maxval="1"/>
</red>
<green dmxchannel="5">
<step type="off" mindmx="0" maxdmx="9"/>
<range type="linear" mindmx="10" maxdmx="255" minval="0" maxval="1"/>
</green>
<blue dmxchannel="6">
<step type="off" mindmx="0" maxdmx="9"/>
<range type="linear" mindmx="10" maxdmx="255" minval="0" maxval="1"/>
</blue>
</yrgb>
<!-- Strobe RGB -->
<channel number="7">
<name>Strobe RGB</name>
<step type="open" mindmx="0" maxdmx="5"/>
<range type="linear" mindmx="6" maxdmx="250" minval="1" maxval="12"/>
<step type="open" mindmx="251" maxdmx="255"/>
<!-- Spezial Effekt RGB -->
<rawstep dmxchannel="8" name="Spezial Effekt RGB">
<step caption="Keine Funktion" mindmx="0" maxdmx="3"/>
<step caption="Show 1" mindmx="4" maxdmx="7"/>
<step caption="Show 2" mindmx="8" maxdmx="11"/>
<step caption="Show 3" mindmx="12" maxdmx="15"/>
<step caption="Show 4" mindmx="16" maxdmx="19"/>
<step caption="Show 5" mindmx="20" maxdmx="23"/>
<step caption="Show 6" mindmx="24" maxdmx="27"/>
<step caption="Show 7" mindmx="28" maxdmx="31"/>
<step caption="Show 8" mindmx="32" maxdmx="35"/>
<step caption="Show 9" mindmx="36" maxdmx="39"/>
<step caption="Show 10" mindmx="40" maxdmx="43"/>
<step caption="Show 11" mindmx="44" maxdmx="47"/>
<step caption="Show 12" mindmx="48" maxdmx="51"/>
<step caption="Show 13" mindmx="52" maxdmx="55"/>
<step caption="Show 14" mindmx="56" maxdmx="59"/>
<step caption="Show 15" mindmx="60" maxdmx="63"/>
<step caption="Show 16" mindmx="64" maxdmx="67"/>
<step caption="Show 17" mindmx="68" maxdmx="71"/>
<step caption="Show 18" mindmx="72" maxdmx="75"/>
<step caption="Show 19" mindmx="76" maxdmx="79"/>
<step caption="Show 20" mindmx="80" maxdmx="83"/>
<step caption="Show 21" mindmx="84" maxdmx="87"/>
<step caption="Show 22" mindmx="88" maxdmx="91"/>
<step caption="Show 23" mindmx="92" maxdmx="95"/>
<step caption="Show 24" mindmx="96" maxdmx="99"/>
<step caption="Show 25" mindmx="100" maxdmx="103"/>
<step caption="Show 26" mindmx="104" maxdmx="107"/>
<step caption="Show 27" mindmx="108" maxdmx="111"/>
<step caption="Show 28" mindmx="112" maxdmx="115"/>
<step caption="Show 29" mindmx="116" maxdmx="119"/>
<step caption="Show 30" mindmx="120" maxdmx="123"/>
<step caption="Show 31" mindmx="124" maxdmx="127"/>
<step caption="Show 32" mindmx="128" maxdmx="131"/>
<step caption="Show 33" mindmx="132" maxdmx="135"/>
<step caption="Show 34" mindmx="136" maxdmx="139"/>
<step caption="Show 35" mindmx="140" maxdmx="143"/>
<step caption="Show 36" mindmx="144" maxdmx="147"/>
<step caption="Show 37" mindmx="148" maxdmx="151"/>
<step caption="Show 38" mindmx="152" maxdmx="155"/>
<step caption="Show 39" mindmx="156" maxdmx="159"/>
<step caption="Show 40" mindmx="160" maxdmx="163"/>
<step caption="Show 41" mindmx="164" maxdmx="167"/>
<step caption="Show 42" mindmx="168" maxdmx="171"/>
<step caption="Show 43" mindmx="172" maxdmx="175"/>
<step caption="Show 44" mindmx="176" maxdmx="179"/>
<step caption="Show 45" mindmx="180" maxdmx="183"/>
<step caption="Show 46" mindmx="184" maxdmx="187"/>
<step caption="Show 47" mindmx="188" maxdmx="191"/>
<step caption="Show 48" mindmx="192" maxdmx="195"/>
<step caption="Show 49" mindmx="196" maxdmx="199"/>
<step caption="Show 50" mindmx="200" maxdmx="203"/>
<step caption="Show 51" mindmx="204" maxdmx="207"/>
<step caption="Show 52" mindmx="208" maxdmx="211"/>
<step caption="Show 53" mindmx="212" maxdmx="215"/>
<step caption="Show 54" mindmx="216" maxdmx="219"/>
<step caption="Show 55" mindmx="220" maxdmx="223"/>
<step caption="Show 56" mindmx="224" maxdmx="227"/>
<step caption="Show 57" mindmx="228" maxdmx="231"/>
<step caption="Show 58" mindmx="232" maxdmx="235"/>
<step caption="Show 59" mindmx="236" maxdmx="239"/>
<step caption="Show 60" mindmx="240" maxdmx="243"/>
<step caption="Show 61" mindmx="244" maxdmx="247"/>
<step caption="Show 62" mindmx="248" maxdmx="251"/>
<step caption="Show 63" mindmx="252" maxdmx="255"/>
</rawstep>
<!-- Geschwindigkeit für Spezial Effekt RGB -->
<channel number="9">
<name>Geschwindigkeit für Spezial Effekt Kanal 8</name>
<function name="Geschwindigkeit" start="0" end="255"/>
</channel>
<!-- Farbwechsel Kanal -->
<channel number="10">
<name>Farbwechsel Kanal 8</name>
<!-- Funktionen für diesen Kanal sind nicht spezifiziert -->
</channel>
<!-- Weitere Kanäle und Funktionen -->
<channel number="11">
<name>Farbwechsel Kanal 12</name>
<function name="Farbwechsel" start="0" end="255"/>
</channel>
<channel number="12">
<name>Verschiedene Hintergrundfarbmakros</name>
<function name="Hintergrundfarbmakros" start="0" end="255"/>
</channel>
<channel number="13">
<name>Laufrichtung</name>
<function name="Rechts nach Links" start="0" end="127"/>
<function name="Links nach Rechts" start="128" end="255"/>
</channel>
<channel number="14">
<name>Weiß</name>
<function name="Weiß" start="0" end="255"/>
</channel>
<channel number="15">
<name>Strob Weiß Intensität</name>
<function name="Intensität" start="0" end="255"/>
</channel>
<channel number="16">
<name>Strobe Weiß</name>
<function name="Keine Funktion" start="0" end="4"/>
<function name="Strobe Weiß" start="5" end="255"/>
</channel>
<channel number="17">
<name>Strobe Weiß Effekt</name>
<function name="Effekt" start="0" end="255"/>
</channel>
<!-- Spezial Effekt Weiß -->
<rawstep dmxchannel="18" name="Spezial Effekt Weiß">
<step caption="Keine Funktion" mindmx="0" maxdmx="4"/>
<step caption="Show 1" mindmx="5" maxdmx="14"/>
<step caption="Show 2" mindmx="15" maxdmx="24"/>
<step caption="Show 3" mindmx="25" maxdmx="34"/>
<step caption="Show 4" mindmx="35" maxdmx="44"/>
<step caption="Show 5" mindmx="45" maxdmx="54"/>
<step caption="Show 6" mindmx="55" maxdmx="64"/>
<step caption="Show 7" mindmx="65" maxdmx="74"/>
<step caption="Show 8" mindmx="75" maxdmx="84"/>
<step caption="Show 9" mindmx="85" maxdmx="94"/>
<step caption="Show 10" mindmx="95" maxdmx="104"/>
<step caption="Show 11" mindmx="105" maxdmx="114"/>
<step caption="Show 12" mindmx="115" maxdmx="124"/>
<step caption="Show 13" mindmx="125" maxdmx="134"/>
<step caption="Show 14" mindmx="135" maxdmx="144"/>
<step caption="Show 15" mindmx="145" maxdmx="154"/>
<step caption="Show 16" mindmx="155" maxdmx="164"/>
<step caption="Show 17" mindmx="165" maxdmx="174"/>
<step caption="Show 18" mindmx="175" maxdmx="184"/>
<step caption="Show 19" mindmx="185" maxdmx="194"/>
<step caption="Show 20" mindmx="195" maxdmx="204"/>
<step caption="Show 21" mindmx="205" maxdmx="214"/>
<step caption="Show 22" mindmx="215" maxdmx="224"/>
<step caption="Show 23" mindmx="225" maxdmx="234"/>
<step caption="Show 24" mindmx="235" maxdmx="244"/>
<step caption="Show 25" mindmx="245" maxdmx="254"/>
<step caption="Show 26" mindmx="255" maxdmx="255"/>
<step caption="Show 27" mindmx="256" maxdmx="265"/>
<step caption="Show 28" mindmx="266" maxdmx="275"/>
<step caption="Show 29" mindmx="276" maxdmx="285"/>
<step caption="Show 30" mindmx="286" maxdmx="295"/>
<step caption="Show 31" mindmx="296" maxdmx="305"/>
<step caption="Show 32" mindmx="306" maxdmx="315"/>
<step caption="Show 33" mindmx="316" maxdmx="325"/>
<step caption="Show 34" mindmx="326" maxdmx="335"/>
<step caption="Show 35" mindmx="336" maxdmx="345"/>
<step caption="Show 36" mindmx="346" maxdmx="355"/>
<step caption="Show 37" mindmx="356" maxdmx="365"/>
<step caption="Show 38" mindmx="366" maxdmx="375"/>
<step caption="Show 39" mindmx="376" maxdmx="385"/>
<step caption="Show 40" mindmx="386" maxdmx="395"/>
<step caption="Show 41" mindmx="396" maxdmx="405"/>
<step caption="Show 42" mindmx="406" maxdmx="415"/>
<step caption="Show 43" mindmx="416" maxdmx="425"/>
<step caption="Show 44" mindmx="426" maxdmx="435"/>
<step caption="Show 45" mindmx="436" maxdmx="445"/>
<step caption="Show 46" mindmx="446" maxdmx="455"/>
</rawstep>
<!-- Geschwindigkeit für Spezial Effekt Weiß -->
<channel number="19">
<name>Geschwindigkeit Kanal 18</name>
<function name="Geschwindigkeit" start="0" end="255"/>
</channel>
<channel number="20">
<name>Laufrichtung</name>
<function name="Rechts nach Links" start="0" end="127"/>
<function name="Links nach Rechts" start="128" end="255"/>
</channel>
<channel number="21">
<name>Frost</name>
<function name="Keine Funktion" start="0" end="100"/>
<function name="Frost" start="101" end="255"/>
</channel>
</channels>
</device>
Display More