<?xml version="1.0" encoding="ISO-8859-1"?>
<device image="Scanner.gif" initsequence="set 0 0 ;set 1 0;set 2 0;set 3 0;set 4 128;set 5 128;set 6 0;set 7 0;">
  <information>
    <vendor>HQPower</vendor>
    <name>Aeron 250 II</name>
    <author>Roland Latsch</author>
  </information>
  <channels>
    <function channel="0" minvalue="0" maxvalue="255" name="Shutter" fade="no" type="dimmer" action="GetShutter" />
    <function channel="1" minvalue="0" maxvalue="255" name="Farbe" fade="no" type="color" action="GetColor" />
    <function channel="2" minvalue="0" maxvalue="255" name="Gobo" fade="no" type="gobo" action="GetGobo" />
    <function channel="3" minvalue="0" maxvalue="255" name="Goborotation" fade="no" type="rotate" action="GetRotate" />
    <function channel="4" minvalue="0" maxvalue="255" name="Pan" fade="yes" type="pan" />
    <function channel="5" minvalue="0" maxvalue="255" name="Tilt" fade="yes" type="tilt" />
    <function channel="6" minvalue="0" maxvalue="255" name="Prisma" fade="no" type="prisma" />
    <function channel="7" minvalue="0" maxvalue="255" name="Fokus" fade="no" type="fokus" />
  </channels>
  <form width="406" height="354">
    <deviceimage top="0" left="0" width="33" height="33" />
    <devicename top="0" left="40" width="129" height="17" />
    <deviceadress top="16" left="40" width="129" height="17" />
    <position top="40" left="8" height="177" width="177" />
    <label top="0" left="200" caption="Farbe:" />
    <dropdown top="16" left="208" width="113" name="color_color" action="SetColor">
      <item caption="Weiss" value="0" />
      <item caption="Dunkelblau" value="18" />
      <item caption="Pink" value="36" />
      <item caption="Hellgrün" value="54" />
      <item caption="Orange" value="72" />
      <item caption="Hellblau" value="90" />
      <item caption="Gelb" value="108" />
      <item caption="Dunkelrot" value="127" />
      <item caption="Rainbow UZ" value="-1" />
      <item caption="Rainbow GUZ" value="-2" />
    </dropdown>
    <slider top="16" left="320" height="25" width="65" startvalue="0" endvalue="63" tickfreq="9" smallchange="1" largechange="5" name="color_speed" action="SetColor" channel="1" />
    <label top="40" left="200" caption="Gobo:" />
    <dropdown top="56" left="208" width="113" name="gobos_gobo" action="SetGobo">
      <item caption="Offen" value="0" />
      <item caption="Gobo 1" value="16" />
      <item caption="Gobo 2" value="32" />
      <item caption="Gobo 3" value="48" />
      <item caption="Gobo 4" value="64" />
      <item caption="Gobo 5" value="80" />
      <item caption="Gobo 6" value="96" />
      <item caption="Gobo 7" value="112" />
      <item caption="Gobowechsel UZ" value="-1" />
      <item caption="Gobowechsel GUZ" value="-2" />
    </dropdown>
    <slider top="56" left="320" height="25" width="65" startvalue="0" endvalue="63" tickfreq="9" smallchange="1" largechange="5" name="gobos_speed" action="SetGobo" channel="2" />
    <label top="88" left="200" caption="Goborotation:" />
    <options top="104" left="208" name="rotate" action="setrotate">
      <option caption="Aus" left="0" top="0" value="-1">
      </option>
      <option caption="UZ" left="0" top="20" value="0">
      </option>
      <option caption="GUZ" left="0" top="40" value="1">
      </option>
    </options>
    <label top="104" left="280" caption="Geschwindigkeit:" />
    <slider top="128" left="280" height="30" width="95" startvalue="0" endvalue="119" tickfreq="10" smallchange="5" largechange="25" name="rotate_speed" action="setrotate" channel="3" />
    <label top="168" left="200" caption="Shutter:" />
    <options top="184" left="208" name="shutter" action="setshutter">
      <option caption="Dimmer" left="0" top="0" value="0">
      </option>
      <option caption="Strobe" left="0" top="30" value="-1">
      </option>
      <option caption="Strobe Zufall" left="0" top="60" value="-2">
      </option>
    </options>
    <slider top="184" left="300" height="30" width="85" startvalue="0" endvalue="128" tickfreq="10" smallchange="5" largechange="25" name="dimmer" action="setshutter" channel="0" />
    <slider top="216" left="300" height="30" width="85" startvalue="0" endvalue="59" tickfreq="10" smallchange="5" largechange="25" name="strobe_speed" action="setshutter" channel="0" />
    <slider top="240" left="300" height="30" width="85" startvalue="0" endvalue="49" tickfreq="10" smallchange="5" largechange="25" name="strobe_speed_zuf" action="setshutter" />
    <line x1="232" y1="8" x2="384" y2="8" />
    <line x1="232" y1="48" x2="384" y2="48" />
    <line x1="240" y1="96" x2="384" y2="96" />
    <line x1="248" y1="280" x2="379" y2="280" />
    <line x1="192" y1="0" x2="192" y2="346" />
    <line x1="0" y1="272" x2="187" y2="272" />
    <command top="280" left="8" width="177" caption="Reset" clicksequence="save 5;set 5 130;hold 5500;restore 5" />
    <slider top="232" left="48" height="41" width="137" startvalue="0" endvalue="255" name="fokus" channel="7" largechange="25" smallchange="5" tickfreq="10" />
    <label top="240" left="8" caption="Fokus" />
    <label top="272" left="200" caption="Prisma: " />
    <line x1="245" y1="176" x2="384" y2="176" />
    <line x1="0" y1="224" x2="187" y2="224" />
    <options top="295" left="208" name="prisma" action="setprisma">
      <option caption="Aus" left="0" top="0" value="-1">
      </option>
      <option caption="UZ" left="0" top="20" value="0">
      </option>
      <option caption="GUZ" left="0" top="40" value="1">
      </option>
    </options>
    <label top="304" left="280" caption="Geschwindigkeit" />
    <slider top="320" left="280" height="30" width="95" startvalue="0" endvalue="95" largechange="25" smallchange="5" tickfreq="10" name="prisma_speed" action="setprisma" channel="6" />
  </form>
  <code>
    <procedure name="INITCONTOLS">!call|GetColor$
!call|GetGobo$
!call|GetRotate$
!call|GetShutter$
!call|GetPrisma$</procedure>
    <procedure name="GetShutter">!if|({channel_0}&gt;139) and ({channel_0}&lt;200)|
 !set_control|shutter|-1$
  !set_control|strobe_speed|({channel_0}-140)$
|
!if|({channel_0}&gt;199) and ({channel_0}&lt;250)|
 !set_control|shutter|-2$
 !set_control|strobe_speed_zuf|({channel_0}-200)$
|
 !set_control|shutter|0$
 !set_control|dimmer|{channel_0}$
$$</procedure>
    <procedure name="SetShutter">!if|({shutter}=0)|
 !set_channel|0|{dimmer}$
$
 !if|({shutter}=-1)|
  !set_channel|0|(140+{strobe_speed})$
$
!if|({shutter}=-2)|
  !set_channel|0|(200+{strobe_speed_zuf})$
$</procedure>
    <procedure name="GetColor">!if|{channel_1}&lt;128|
 !set_control|color_color|{channel_1}$
 !set_control|color_speed|0$
|
 !if|({channel_1}&gt;128) and ({channel_1}&lt;192)|
  !set_control|color_color|-1$
  !set_control|color_speed|({channel_1}-128)$
 $
!if|({channel_1}&gt;192) and ({channel_1}&lt;256)|
  !set_control|color_color|-2$
  !set_control|color_speed|({channel_1}-191)$
 $
$</procedure>
    <procedure name="SetColor">!if|{color_color}|gt|-1|
 !set_channel|1|{color_color}$
|
 !if|{color_color}|eq|-1|
  !set_channel|1|(128+{color_speed})$
 $
 !if|{color_color}|eq|-2|
  !set_channel|1|(192+{color_speed})$
 $
$</procedure>
    <procedure name="GetGobo">!if|{channel_2}&lt;128|
 !set_control|gobos_gobo|{channel_2}$
 !set_control|gobos_speed|0$
|
 !if|({channel_2}&gt;128) and ({channel_2}&lt;192)|
  !set_control|gobos_gobo|-1$
  !set_control|gobos_speed|({channel_2}-128)$
 $
 !if|({channel_2}&gt;192) and ({channel_2}&lt;256)|
  !set_control|gobos_gobo|-2$
  !set_control|gobos_speed|({channel_2}-191)$
 $
$</procedure>
    <procedure name="SetGobo">!if|{gobos_gobo}|gt|-1|
 !set_channel|2|{gobos_gobo}$
|
 !if|{gobos_gobo}|eq|-1|
  !set_channel|2|(128+{gobos_speed})$
 $
 !if|{gobos_gobo}|eq|-2|
  !set_channel|2|(192+{gobos_speed})$
 $
$</procedure>
    <procedure name="GetRotate">!if|({channel_3}&gt;15) and ({channel_3}&lt;136)|
  !set_control|rotate_speed|({channel_3}-16)$
  !set_control|rotate|0$
$

 !if|({channel_3}&gt;135) and ({channel_3}&lt;256)|
  !set_control|rotate_speed|({channel_3}-136)$
  !set_control|rotate|1$
$

!if|({channel_3}&gt;-1) and ({channel_3}&lt;16)|
  !set_control|rotate_speed|0$
  !set_control|rotate|-1
$</procedure>
    <procedure name="SetRotate">!if|{rotate}|eq|-1|
 !set_channel|3|0$
 !set_control|rotate_speed|0$
$

!if|{rotate}|eq|0|
 !set_channel|3|(16+{rotate_speed})$
$

!if|{rotate}|eq|1|
 !set_channel|3|(136+{rotate_speed})$
$</procedure>
    <procedure name="GetPrisma">!if|({channel_6}&gt;64) and ({channel_3}&lt;160)|
  !set_control|prisma_speed|({channel_3}-64)$
  !set_control|prisma|0$
$

 !if|({channel_6}&gt;159) and ({channel_6}&lt;256)|
  !set_control|prisma_speed|({channel_6}-160)$
  !set_control|prisma|1$
$

!if|({channel_6}&gt;-1) and ({channel_6}&lt;64)|
  !set_control|prisma_speed|0$
  !set_control|prisma|-1
$</procedure>
    <procedure name="SetPrisma">!if|{prisma}|eq|-1|
 !set_channel|6|0$
 !set_control|prisma_speed|0$
$

!if|{prisma}|eq|0|
 !set_channel|6|(64+{prisma_speed})$
$

!if|{prisma}|eq|1|
 !set_channel|6|(160+{prisma_speed})$
$</procedure>
  </code>
</device>