<?xml version="1.0"?>
<device image="Ypoc700.gif" initsequence="set 0 255;set 1 0;set 2 0;set 3 0;set 4 0;set 5 0">
	<information>
		<name>Giant</name>
		<vendor>Studio Due</vendor>
		<author>Silvio Weise</author>
		<version>1</version>
	</information>
	<channels>
		<function channel="0" minvalue="0" maxvalue="255" name="Speed" fade="yes" />
		<function channel="1" minvalue="0" maxvalue="255" name="Color" fade="yes" type="color" />
		<function channel="2" minvalue="0" maxvalue="255" name="Gobo" fade="yes" type="gobo" />
		<function channel="3" minvalue="0" maxvalue="255" name="Shutter" fade="yes" type="dimmer" />
		<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" />
	</channels>
	<form width="423" height="272">
		<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="2" left="200" caption="Farbe" />
		<dropdown top="22" left="200" width="190" channel="1">
			<item caption="Weiss" value="0" />
			<item caption="Gelb" value="30" />
			<item caption="Violett" value="60" />
			<item caption="Grün" value="90" />
			<item caption="Blau" value="120" />
			<item caption="Farbdurchlauf" value="180" />
		</dropdown>
		<label top="140" left="215" caption="Speed:" />
		<slider top="140" left="264" height="29" width="120" startvalue="0" endvalue="255" tickfreq="32" smallchange="5" largechange="25" name="speed" channel="0" />
		<line x1="200" y1="50" x2="400" y2="50" />
		<line x1="200" y1="130" x2="400" y2="130" />
		<line x1="200" y1="170" x2="400" y2="170" />
		<line x1="192" y1="0" x2="192" y2="210" />
		<label top="96" left="216" caption="Shutter" />
		<slider top="88" left="256" height="29" width="120" startvalue="0" endvalue="189" name="shutter" channel="3" />
		<onoff top="200" left="272" width="80" height="30" onvalue="255" offvalue="0" caption="An / Aus" name="bo" channel="3" />
		<label top="209" left="215" caption="Blackout" />
	</form>
	<code>
		<procedure name="INITCONTROLS">
   !call|GetShutter$
		</procedure>
		<procedure name="GetShutter">

!if|({channel_0} &gt; 169) and ({channel_0} &lt; 230)|
 !set_control|shutter|-1$
  !set_control|strobe_speed|({channel_0}-170)$
|
!if|({channel_0} &gt; -1) and ({channel_0} &lt; 170)|
 !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|(170+{strobe_speed})$
 $




		</procedure>
	</code>
</device>