<?xml version="1.0" encoding="ISO-8859-1"?>
<device image="Mh.gif" initsequence="init">
  <information>
    <name>Phantom EHJ-250</name>
    <author>Benjamin Frenz; Easter Bug</author>
    <vendor>Showtec</vendor>
    <comment>Setting: P1-n P2-n P3-y; 16Bit Modus</comment>
  </information>
  <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="panfine" fade="yes" type="panfine" />
    <function channel="3" minvalue="0" maxvalue="255" name="tiltfine" fade="yes" type="tiltfine" />
    <function channel="4" minvalue="0" maxvalue="255" name="speed" fade="yes" />
    <function channel="5" minvalue="0" maxvalue="255" name="dimmer" fade="no" type="dimmer" />
    <function channel="6" minvalue="0" maxvalue="255" name="gobo" fade="no" type="gobo" />
    <function channel="7" minvalue="0" maxvalue="255" name="color" fade="no" type="color" />
    <function channel="8" minvalue="0" maxvalue="255" name="rotation" fade="yes" />
  </channels>
  <form width="489" height="509">
    <deviceimage top="0" left="0" />
    <devicename top="0" left="40" />
    <deviceadress top="16" left="40" />
    <position top="72" left="12" height="148" width="148" />
    <line y1="240" x1="0" y2="240" x2="488" />
    <label top="48" left="8" caption="Position" />
    <onoff top="72" left="320" width="80" height="22" onvalue="255" offvalue="0" caption="An / Aus" channel="5" />
    <slider top="136" left="168" height="41" width="129" startvalue="0" endvalue="140" channel="1" />
    <label top="48" left="168" caption="Pan Front" />
    <label top="112" left="168" caption="Tilt Front" />
    <slider top="72" left="168" height="41" width="129" startvalue="65" endvalue="190" channel="0" />
    <label top="176" left="168" caption="Pan/Tilt-Speed" />
    <slider top="192" left="168" height="41" width="129" startvalue="2" endvalue="200" channel="4" />
    <line y1="40" x1="0" y2="40" x2="488" />
    <label top="392" left="8" caption="Colour" />
    <command top="416" left="16" width="32" height="30" caption=" " color="#ffffff" clicksequence="set 5 0" />
    <command top="416" left="48" width="16" height="30" caption=" " color="#c0c0c0" clicksequence="set 5 187" />
    <command top="416" left="64" width="32" height="30" caption=" " color="#ff0000" clicksequence="set 5 13" />
    <command top="416" left="96" width="16" height="30" caption=" " color="#c0c0c0" clicksequence="set 5 180" />
    <command top="416" left="112" width="32" height="30" caption=" " color="#0000ff" clicksequence="set 5 25" />
    <command top="416" left="144" width="16" height="30" caption=" " color="#c0c0c0" clicksequence="set 5 174" />
    <command top="416" left="160" width="32" height="30" caption=" " color="#ffff00" clicksequence="set 5 38" />
    <command top="416" left="192" width="16" height="30" caption=" " color="#c0c0c0" clicksequence="set 5 166" />
    <command top="416" left="208" width="32" height="30" caption=" " color="#00ff00" clicksequence="set 5 50" />
    <command top="416" left="240" width="16" height="30" caption=" " color="#c0c0c0" clicksequence="set 5 159" />
    <command top="416" left="256" width="32" height="30" caption=" " color="#ff00ff" clicksequence="set 5 63" />
    <command top="416" left="288" width="16" height="30" caption=" " color="#c0c0c0" clicksequence="set 5 152" />
    <command top="416" left="304" width="32" height="30" caption=" " color="#800080" clicksequence="set 5 75" />
    <command top="416" left="336" width="16" height="30" caption=" " color="#c0c0c0" clicksequence="set 5 145" />
    <command top="416" left="352" width="32" height="30" caption=" " color="#0080ff" clicksequence="set 5 88" />
    <command top="416" left="384" width="16" height="30" caption=" " color="#c0c0c0" clicksequence="set 5 138" />
    <command top="416" left="400" width="32" height="30" caption=" " color="#ff8000" clicksequence="set 5 100" />
    <command top="416" left="432" width="16" height="30" caption=" " color="#c0c0c0" clicksequence="set 5 132" />
    <command top="416" left="448" width="32" height="30" caption=" " color="#ff0080" clicksequence="set 5 113" />
    <label top="312" left="16" caption="Wheel Rotation" />
    <slider top="472" left="168" height="41" width="153" startvalue="191" endvalue="220" channel="7" />
    <slider top="472" left="328" height="41" width="153" startvalue="225" endvalue="255" channel="7" />
    <slider top="472" left="8" height="41" width="153" startvalue="191" endvalue="255" channel="7" />
    <label top="456" left="168" caption="Forward" />
    <label top="456" left="328" caption="Backward" />
    <line y1="384" x1="0" y2="384" x2="488" />
    <label top="248" left="8" caption="GOBO" />
    <command top="272" left="16" width="32" height="30" caption="Open" color="#c0c0c0" clicksequence="set 6 0" />
    <command top="272" left="56" width="32" height="30" caption="G1" color="#c0c0c0" clicksequence="set 6 16" />
    <command top="272" left="96" width="32" height="30" caption="G2" color="#c0c0c0" clicksequence="set 6 32" />
    <command top="272" left="136" width="32" height="30" caption="G3" color="#c0c0c0" clicksequence="set 6 48" />
    <command top="272" left="176" width="32" height="30" caption="G4" color="#c0c0c0" clicksequence="set 6 64" />
    <command top="272" left="216" width="32" height="30" caption="G5" color="#c0c0c0" clicksequence="set 6 80" />
    <command top="272" left="256" width="32" height="30" caption="G6" color="#c0c0c0" clicksequence="set 6 96" />
    <command top="272" left="296" width="32" height="30" caption="G7" color="#c0c0c0" clicksequence="set 6 112" />
    <command top="72" left="400" width="80" height="22" caption="Standby" clicksequence="set 0 128; set 1 0;set 5 0" />
    <label top="48" left="312" caption="Options" />
    <command top="96" left="320" width="80" height="22" caption="Center" clicksequence="set 0 128;set 1 128" />
    <dropdown top="264" left="352" width="129" name="shakedrop" action="goboshake" channel="6">
      <item caption="Open" value="133" />
      <item caption="Gobo 1" value="145" />
      <item caption="Gobo 2" value="157" />
      <item caption="Gobo 3" value="169" />
      <item caption="Gobo 4" value="181" />
      <item caption="Gobo 5" value="193" />
      <item caption="Gobo 6" value="205" />
      <item caption="Gobo 7" value="217" />
    </dropdown>
    <label top="248" left="336" caption="Shake" />
    <slider top="296" left="392" height="41" width="89" startvalue="0" endvalue="10" name="shakespeed" action="goboshake" />
    <label top="304" left="352" caption="Speed" />
    <onoff top="96" left="400" width="80" height="22" onvalue="255" offvalue="0" caption="Blackout" channel="5" />
    <label top="456" left="16" caption="Rainbow" />
    <slider top="336" left="8" height="41" width="153" startvalue="229" endvalue="255" channel="6" />
    <label top="312" left="168" caption="Gobo Rotation" />
    <slider top="336" left="168" height="41" width="153" startvalue="128" endvalue="255" channel="8" name="g_rota" />
    <command top="344" left="352" width="128" height="22" caption="Stop Rotation" clicksequence="set 8 190" />
    <slider top="192" left="312" height="41" width="97" startvalue="64" endvalue="95" channel="5" />
    <label top="176" left="312" caption="Strobe" />
    <command top="192" left="416" width="32" height="30" caption="On" clicksequence="set 5 255" />
    <command top="192" left="448" width="32" height="30" caption="Off" clicksequence="set 5 0" />
    <command top="8" left="400" width="80" height="22" caption="Reset" clicksequence="set 2 201;hold 10500" />
    <slider top="152" left="322" height="25" width="73" startvalue="160" endvalue="191" channel="5" />
    <slider top="152" left="400" height="25" width="73" startvalue="192" endvalue="223" channel="5" />
    <label top="128" left="312" caption="Pulse-effect" />
  </form>
  <code>
    <procedure name="goboshake">!set_channel|6|({shakedrop}+{shakespeed})$</procedure>
    <procedure name="init">!set_control|shakespeed|0$
!set_control|g_rota|190$
!set_channel|0|128$
!set_channel|1|128$
!set_channel|4|255$</procedure>
  </code>
</device>