<?xml version="1.0" encoding="ISO-8859-1"?>
<device image="SCANNER.GIF" initsequence="set 0 128;set 1 128;set 2 128;set 3 0;set 4 0;set 5 0;set6 127">
  <channels>
    <function channel="0" minvalue="0" maxvalue="255" name="Pan" fade="yes" type="pan" />
    <function channel="1" minvalue="0" maxvalue="255" name="Tilt" fade="yes" type="tilt" />
    <function channel="2" minvalue="0" maxvalue="255" name="Speed Pan/Tilt" fade="yes" type="dimmer" />
    <function channel="3" minvalue="0" maxvalue="255" name="Farbe" fade="no" type="color" action="GetColor" />
    <function channel="4" minvalue="0" maxvalue="255" name="Gobo" fade="no" type="gobo" action="GetGobo" />
    <function channel="5" minvalue="0" maxvalue="255" name="Speed Position" fade="yes" type="dimmer" />
    <function channel="6" minvalue="0" maxvalue="255" name="Shutter" fade="no" type="shutter" />
  </channels>
  <form width="400" height="300">
    <deviceimage top="0" left="0" />
    <devicename top="1" left="37" />
    <deviceadress top="16" left="40" />
    <dropdown top="137" left="15" width="70" channel="3" action="GetColor" name="color_drop">
      <item caption="weiß" value="3" />
      <item caption="Grün" value="11" />
      <item caption="Rot" value="19" />
      <item caption="H-Lila" value="28" />
      <item caption="Gelb" value="35" />
      <item caption="H-Rosa" value="44" />
      <item caption="H-Blau" value="51" />
      <item caption="H-Rot" value="58" />
      <item caption="Blau" value="68" />
      <item caption="Lila" value="75" />
    </dropdown>
    <dropdown top="53" left="15" width="70" channel="" action="SetGobo" name="gobo_drop">
      <item caption="Leer" value="0" />
    </dropdown>
    <label top="119" left="15" caption="Color" />
    <label top="35" left="13" caption="Gobo" />
    <slider top="49" left="99" height="30" width="95" startvalue="187" endvalue="128" channel="4" name="gobo_speed_uz" action="GetGobo" />
    <slider top="95" left="99" height="30" width="95" startvalue="196" endvalue="255" channel="4" name="gobo_speed_guz" action="GetGobo" />
    <label top="33" left="113" caption="Gobo_Rotation UZ" />
    <label top="77" left="113" caption="Gobo_Rotation GUZ" />
    <command top="80" left="13" width="70" height="28" onvalue="0" offvalue="255" caption="Gobo STOP" clicksequence="set 4 190;" />
    <slider top="144" left="99" height="30" width="95" startvalue="187" endvalue="128" name="golor_speed_uz" action="GetColor" channel="3" />
    <label top="126" left="117" caption="Color_Rotation UZ" />
    <slider top="194" left="99" height="30" width="95" startvalue="196" endvalue="255" name="color_speed_guz" action="GetColor" />
    <label top="175" left="117" caption="Color_Rotation GUZ" />
    <position top="25" left="221" height="180" width="180" />
    <command top="163" left="13" width="70" height="28" onvalue="0" offvalue="255" caption="Color STOP" clicksequence="set 3 190;" />
    <slider top="267" left="3" height="41" width="177" startvalue="0" endvalue="255" name="speed_pan_tilt" channel="2" />
    <label top="250" left="30" caption="Speed PAN / TILT" />
  </form>
  <code>
    <procedure name="INITCONTROLS">
   !call|GetColor$
   !call|GetGobo$
  </procedure>
    <procedure name="GetColor">
!if|({channel_3} &lt; 128)|
 !set_channel|3|{color_drop}$
|
!if|({channel_3} &gt; 127) and ({channel_3} &lt; 188)|
  !set_control|color_speed_uz|{channel_3}$
 $
!if|({channel_3} &gt; 195)|
    !set_control|color_speed_guz|{channel_3}$
 $
$
    </procedure>
    <procedure name="GetGobo">
!if|({channel_4} &lt;128)|
 !set_control|gobo_drop|{channel_3}$
|
!if|({channel_4} &gt; 127) and ({channel_3} &lt; 188)|
  !set_control|gobo_speed_uz|{channel_3}$
 $
!if|({channel_4} &gt; 1195)|
   !set_control|gobo_speed_guz|{channel_3}$
 $
$
    </procedure>
  </code>
</device>