// Chauvet Legend 300E Spot
//
// Jon Lenard 1/6/10
//

fixture
	manufacturer = "Chauvet"
	name = "Leg300E"
	version = 1.1
//  fullmanufacturer = "Chauvet"
//  fullname = "Legend 300E Spot"
//  mode = 1
//  description = "21 channel"

	attribute
		name = "PAN"
		channel = 1
		finechan = 2
		homeVal = 32768
		
	attribute
		name = "TILT"
		channel = 3
		finechan = 4
		homeVal = 32768
		
	attribute
		name = "MSPEED"
		channel = 5
		homeVal = 0
	
	attribute
		name = "INTENSITY"
		channel = 6
		homeVal = 0
		
	attribute
		name = "SHUTTER"
		channel = 7
		homeVal = 255
		
	attribute
		name = "COLOR"
		channel = 8
		homeVal = 0
		
	Attribute
      name = "CYAN"
      channel = 9
      homeVal = 0
		
   Attribute
      name = "MAGENTA"
      channel = 10
      homeVal = 0
      
   Attribute
      name = "YELLOW"
      channel = 11
      homeVal = 0
		
	Attribute
		name = "GOBO1"
		channel = 12
		homeVal = 0
		
	attribute
		name = "GOBO1<>"
		channel = 13
		homeVal = 0
		
	attribute
		name = "GOBO2"
		channel = 14
		homeVal = 0
		
	attribute
		name = "FOCUS"
		channel = 15
		homeVal = 128
		
	attribute
		name = "ZOOM"
		channel = 16
		homeVal = 128
		
	attribute
		name = "PRISM"
		channel = 17
		homeVal = 0
		
	attribute
		name = "PRISM<>"
		channel = 18
		homeVal = 0
		
	attribute
		name = "IRIS"
		channel = 19
		homeVal = 0
		
	attribute
		name = "FOST"
		channel = 20
		homeVal = 0
		
	attribute
		name = "CONTROL"
		channel = 21
		homeVal = 0
		
//////////////////////////////////////////////////////

	parameter
		name = "-PAN-"
		displayerNum = 1
		type = F
		attribList = 1
		stop = (M  0:65535),D,0,540,"Pan="

	parameter
		name = "-TILT-"
		displayerNum = 2
		type = F
		attribList = 3
		stop = (M  0:65535),D,0,270,"Ti@="
						
	parameter
		name = "-COLOUR-"
		displayerNum = 3
		type = C
		attribList = 8
		stop = (   0:  7),N,"White"    
		stop = (   8: 15),N,"Red"   
		stop = (  16: 23),N,"Orange"      
		stop = (  24: 31),N,"3200K"
		stop = (  32: 39),N,"2500K"
		stop = (  40: 47),N,"Pink"   
		stop = (  48: 55),N,"Green"     
		stop = (  56: 63),N,"DkBlue"       
		stop = (M 64:127),2,"Color:"
		stop = (M189:128),2,"CWhl<:"
		stop = ( 190:193),N,"Stop"
		stop = (M194:255),2,"CWnl>:"	
 
   Parameter
      name = "-CYAN-"
      displayerNum = 4
      type = C
      attribList = 9
      stop = (M  0:255),2,"Cyan="
      
   Parameter
      name = "-MAGNTA-"   
      displayerNum = 5
      type = C
      attribList = 10
      stop = (M  0:255),2,"Mgnta="
      	         
   Parameter                            
      name = "-YELLOW-"                   	  
      displayerNum = 6              	  
      type = C                  	  
      attribList = 11                 	  
      stop = (M  0:255),2,"Yellow="		
		
	parameter
		name = "-GOBO1-"
		displayerNum = 7
		type = B
		attribList = 12
		stop = (   0:  7),N,"No Gobo"
		stop = (   8: 14),N,"Gobo 1"
		stop = (  15: 21),N,"Gobo 2"
		stop = (  22: 28),N,"Gobo 3"
		stop = (  29: 35),N,"Gobo 4"
		stop = (  36: 42),N,"Gobo 5"
		stop = (  43: 49),N,"Gobo 6"
		stop = (  50: 57),N,"Gobo 7"
		stop = (M 58: 67),1,"G1Shk:"
		stop = (M 68: 77),1,"G2Shk:"
		stop = (M 78: 87),1,"G3Shk:"
		stop = (M 88: 97),1,"G4Shk:"
		stop = (M 98:107),1,"G5Shk:"
		stop = (M108:117),1,"G6Shk:"
		stop = (M118:127),1,"G7Shk:"
		stop = (M189:128),1,"G1Whl>:"
        stop = (R190:193),N,"Stop"
		stop = (M194:255),1,"G1Whl<:"

	parameter
		name = "-GOBO1<>-"
		displayerNum = 8
		type = B
		attribList = 13
		stop = (M  0:127),2,"GbIdx:"
		stop = (M189:128),2,"Gobo>:"
		stop = (R190:193),N,"Stop"
		stop = (M194:255),2,"Gobo<:"
		
	parameter                        
		name = "-GOBO2-"                		
		displayerNum = 9                		
		type = B                        		
		attribList = 14                 		
		stop = (   0:  5),N,"No Gobo"   		
		stop = (   6: 10),N,"Gobo 1"    		
		stop = (  11: 15),N,"Gobo 2"    		
		stop = (  16: 20),N,"Gobo 3"    		
		stop = (  21: 26),N,"Gobo 4"    		
		stop = (  27: 31),N,"Gobo 5"    		
		stop = (  32: 36),N,"Gobo 6"    		
		stop = (  37: 41),N,"Gobo 7"
		stop = (  42: 47),N,"Gobo 8"    		
		stop = (M 48: 57),1,"G1Shk:"    		
		stop = (M 58: 67),1,"G2Shk:"    		
		stop = (M 68: 77),1,"G3Shk:"    		
		stop = (M 78: 87),1,"G4Shk:"    		
		stop = (M 88: 97),1,"G5Shk:"    		
		stop = (M 98:107),1,"G6Shk:"    		
		stop = (M108:117),1,"G7Shk:"
		stop = (M118:127),1,"G8Shk:"    		
		stop = (M189:128),1,"G1Whl>:"   		
        stop = (R190:193),N,"Stop"		
		stop = (M194:255),1,"G1Whl<:" 

	parameter
		name = "-PRISM-"
		displayerNum = 10
		type = B
		attribList = 17
		stop = (   0: 63),N,"No Prism"
		stop = (  64:255),N,"Prism"

	parameter
		name = "-PRISM<>-"
		displayerNum = 11
		type = B
		attribList = 18
		stop = (M  0:127),2,"PrIdx:"
		stop = (M189:128),2,"Prsm>:"
		stop = (R190:193),N,"Stop"
		stop = (M194:255),2,"Prsm<:"
		
   Parameter                            
      name = "-IRIS-"                   	  
      displayerNum = 12              	  
      type = B                  	  
      attribList = 19                 	  
      stop = (M  0:255),2,"Iris="
		
	parameter
		name = "-FOCUS-"
		displayerNum = 13
		type = B
		attribList = 15
		stop = (M  0:255),2,"Focus="
		
	parameter
		name = "-ZOOM-"
		displayerNum = 14
		type = B
		attribList = 16
		stop = (M  0:255),2,"Zoom="
		
	parameter
		name = "-FROST-"
		displayerNum = 15
		type = B
		attribList = 20
		stop = (   0:  7),N,"No Frost"
		stop = (   8:255),N,"Frost"		
		
	parameter
		name = "-SHUTTER-"
		displayerNum = 16
		type = B
		attribList = 7
		stop = (   0:  7),N,"Shtr Clsd"
		stop = (R  8: 15),N,"Shtr Open"
		stop = (M 16:131),1,"Strobe:"
		stop = ( 132:255),N,"Shtr Open"
	
//------------------------------------------------
		
	parameter
		name = "-MSPEED-"
		displayerNum = 23
		type = F
		attribList = 5
		stop = (M255: 0),2,"Speed="

	parameter
		name = "-CONTROL-"
		displayerNum = 24
		type = N
		attribList = 21
		stop = (   0:  9),N,"Run Mode"
		stop = (  10: 19),N,"AutFocOn"
		stop = (  20: 29),N,"AutFocOff"
		stop = (R 30: 69),N,"Run Mode"
		stop = (  70: 79),N,"PTblkOn"
		stop = (  80: 89),N,"PTblkOff"
		stop = (  90: 99),N,"CblkOn"
		stop = ( 100:109),N,"CblkOff"
		stop = ( 110:119),N,"GblkOn" 
		stop = ( 120:129),N,"GblkOff"
		stop = ( 130:139),N,"Lamp On"
		stop = ( 140:149),N,"PT reset"
		stop = ( 150:159),N,"Col reset"
		stop = ( 160:169),N,"GG2Ireset"
		stop = ( 170:179),N,"Shutreset"
		stop = ( 180:198),N,"FoZmreset"
		stop = ( 190:199),N,"PrFsreset"
		stop = ( 200:209),N,"Reset all"
		stop = (R210:229),N,"Run Mode"
		stop = ( 230:239),N,"Lamp Off"
		stop = ( 240:249),N,"FlatbOn"
		stop = ( 250:255),N,"FlatbOff"

end
