<?xml version="1.0" encoding="ISO-8859-1"?>
<device image="scanner.gif" initsequence="set 4 128; set 1 128;set 0 128">
  <information>
    <author>Franz Gehrmann</author>
    <name>Variscan 4</name>
    <panarea degree="175" offset="0" />
    <tiltarea degree="110" offset="0" />
  </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="Gobo" fade="no" type="gobo" />
    <function channel="3" minvalue="0" maxvalue="255" name="Color" fade="no" type="color" />
    <function channel="4" minvalue="0" maxvalue="255" name="Shutter/Dimmer" fade="yes" />
    <function channel="5" minvalue="0" maxvalue="255" name="Iris" fade="yes" />
    <function channel="6" minvalue="0" maxvalue="255" name="Goborot" fade="yes" />
    <function channel="7" minvalue="0" maxvalue="255" name="Effectwheel" fade="yes" />
  </channels>

  <form width="420" height="350">
    <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="10" left="245" height="177" width="177" />

    <!-- shutter line -->

    <line x1="5" y1="128" x2="240" y2="128" />

    <label top="41" left="9" caption="Dimmer" />
    <slider channel="4" top="41" left="57" height="28" width="170" startvalue="20" endvalue="137" tickfreq="9" smallchange="1" largechange="5" />
    <label top="65" left="9" caption="Shutter" />
    <slider channel="4" top="65" left="57" height="28" width="170" startvalue="140" endvalue="244" tickfreq="9" smallchange="1" largechange="5" />
    <options channel="4" top="89" left="17">
      <option value="0" caption="all off" left="1" top="1" />
      <option value="46" caption="Dimmer first light" left="0" top="15" />
      <option value="138" caption="Dimmer quick off" left="110" top="15" />
      <option value="244" caption="Shutter open" left="110" top="0" />
    </options>

<!-- Color part -->

    <label top="145" left="17" caption="Color" />
    <dropdown top="145" left="49" width="80" action="setmycolor" name="color_color">
      <item caption="white" value="0" />
      <item caption="red" value="16" />
      <item caption="yellow" value="32" />
      <item caption="pink" value="48" />
      <item caption="green" value="64" />
      <item caption="orange" value="80" />
      <item caption="blacklight" value="96" />
      <item caption="cyan" value="112" />
    </dropdown>
    <label top="172" left="17" caption="Color Rotation" />
    <slider action="setmycolor" top="145" left="173" height="28" width="53" startvalue="0" endvalue="7" tickfreq="1" smallchange="1" largechange="5" name="half_color" />
    <label top="145" left="133" caption="Half C." />
    <slider channel="3" top="172" left="100" height="32" width="129" startvalue="127" endvalue="255" tickfreq="1" smallchange="1" largechange="5" name="rotating_color" />
    
    <line x1="5" y1="205" x2="240" y2="205" />

    <line x1="240" y1="10" x2="240" y2="350" />

    <!-- Gobo part -->

    <label top="217" left="17" caption="Gobo: " />
    <dropdown top="213" left="69" width="80" name="gobos_gobo" channel="2">
      <item caption="open" value="0" />
      <item caption="Punktelinie" value="32" />
      <item caption="Ring Streifen" value="64" />
      <item caption="Blume" value="96" />
      <item caption="Sterne" value="128" />
      <item caption="Punkte-Mercedes" value="160" />
    </dropdown>
    <label top="269" left="17" caption="Gobo Positioning" />
    <slider top="269" left="105" height="32" width="125" startvalue="0" endvalue="191" channel="6" largechange="1" smallchange="1" tickfreq="5" />
    <label top="245" left="17" caption="Gobo Rotation" />
    <slider top="245" left="93" height="28" width="43" startvalue="192" endvalue="222" channel="6" largechange="1" smallchange="1" tickfreq="5" />
    <slider top="245" left="197" height="28" width="43" startvalue="225" endvalue="255" channel="6" largechange="1" smallchange="1" tickfreq="5" />
    <onoff top="245" left="137" width="53" height="21" onvalue="224" offvalue="223" caption="Stop" channel="6" />

    <!-- Iris part -->

    <label top="189" left="249" caption="Iris" />
    <slider channel="5" top="189" left="277" height="28" width="121" startvalue="0" endvalue="255" tickfreq="10" smallchange="1" largechange="5" />
    <options channel="5" top="209" left="289">
      <option value="0" caption="zu" left="1" top="1" />
      <option value="255" caption="voll auf" left="40" top="0" />
    </options>

    <line x1="240" y1="259" x2="420" y2="259" />

    <!-- Effect Part -->

    <label top="233" left="261" caption="Effect" />
    <dropdown channel="7" name="prisma_prisma" width="80" top="233" left="317">
      <item caption="Open" value="0" />
      <item caption="Kunstlicht" value="32" />
      <item caption="Tageslicht" value="64" />
      <item caption="Prisma" value="96" />
      <item caption="Flodfilter" value="128" />
    </dropdown>
    <label top="261" left="297" caption="Moving Prisma" />
    <slider top="285" left="277" height="24" width="125" startvalue="112" endvalue="127" channel="7" largechange="1" smallchange="1" tickfreq="5" />
    <label top="309" left="305" caption="Flood-&gt;open" />
    <slider top="329" left="277" height="24" width="125" startvalue="160" endvalue="255" channel="7" largechange="1" smallchange="1" tickfreq="5" />    

    <line x1="240" y1="230" x2="420" y2="230" />

  </form>
  <code>
    <procedure name="setmycolor">
		!if|({half_color} &gt; 0 )|
				!set_channel|3|({color_color}+{half_color}+7)$ 
		|
			!set_channel|3|{color_color}$
		$
	  </procedure>
  </code>
</device>