//////////////////////////////   Martin  CX-4 v1 
// DIP Switch 12 On (affects the FX Wheel Closed DMX value)
// SRM Jan 2005

Fixture 
   version = 0.90
   manufacturer = "MARTIN"
   name = "Cx4"
//  fullmanufacturer = "Martin"
//  fullname = "CX4"
//  mode = 0
//  description = "DIP Switch 12 On (affects the FX Wheel Closed DMX value)"

	attribute
		name = "SHUTTER"
		channel = 1
		homeVal = 0
   
   Attribute
      name = "INTENSITY"
      homeVal = 0
      channel = 2
      
   Attribute
      name = "COLOUR"
      homeVal = 0
      channel = 3
      
   Attribute
      name = "EFFECTS"
      homeVal = 0
      channel = 4
      
   Attribute
      name = "SPEED"
      homeVal = 0
      channel = 5
      
	attribute
		name = "CFX-PSD"
		channel = 6
		homeVal = 0

//////////////////////////////////////////

   Parameter
      name = "-COLOUR-"   
      displayerNum = 3
      type = C
      attribList = 3
		stop = (   0: 10),N,"White"
		stop = (  11: 21),N,"White+"
		stop = (  22: 32),N,"CTC3200"
		stop = (  33: 43),N,"3200+"
		stop = (  44: 54),N,"CTC -Grn"
		stop = (  55: 65),N,"-Grn +"      
		stop = (  66: 76),N,"CTC 5500"
		stop = (  77: 87),N,"5500+"      
		stop = (  88: 98),N,"Cyan"
		stop = (  99:109),N,"Cyan+"      
		stop = ( 110:120),N,"Magenta"
		stop = ( 121:131),N,"Magenta+"    
		stop = ( 132:143),N,"Yellow"
		stop = ( 143:153),N,"Yellow+"		
		stop = ( 154:164),N,"Md Blue"
		stop = ( 165:175),N,"MdBlue+"
		stop = ( 176:186),N,"Green"
		stop = ( 187:197),N,"Green+"
		stop = ( 198:208),N,"Red"   
		stop = ( 209:219),N,"Red+"
		stop = ( 220:230),N,"Mix 4"      
		stop = ( 231:255),N,"Random"

   Parameter
      name = "-COLGOBO-"   
      displayerNum = 4
      type = C
      attribList = 4
      stop = (   0:  9),N,"Closed"      
      stop = (  10: 19),N,"No Gobo"
      stop = (  20: 29),N,"NoGobo+"
      stop = (  30: 39),N,"Red304"
      stop = (  40: 49),N,"Red304+"
      stop = (  50: 59),N,"Lt Green"
      stop = (  60: 69),N,"LtGreen+"
      stop = (  70: 79),N,"Amber"
      stop = (  80: 89),N,"Amber+"
      stop = (  90: 99),N,"Blue101"
      stop = ( 100:109),N,"Blue101+"
      stop = ( 110:119),N,"Pink312"
      stop = ( 120:129),N,"Pink312+"
      stop = ( 130:139),N,"Orange"
      stop = ( 140:149),N,"Frost"
      stop = (R150:159),N,"No Gobo"
      stop = ( 160:169),N,"Spokes"
      stop = ( 170:179),N,"DotCircle"
      stop = ( 180:189),N,"StarDots"
      stop = ( 190:199),N,"Highways"
      stop = ( 200:209),N,"Iris 80"
      stop = ( 210:219),N,"Iris 60"
      stop = ( 220:229),N,"Iris 40"
      stop = ( 230:239),N,"Iris 20"
      stop = ( 240:255),N,"Trigger"

	parameter
		name = "-STROBE-"
		displayerNum = 6
		type = B
		attribList = 1
		stop = ( 160:179),N,"Shtr Clsd"		
		stop = (M159:100),2,"Strobe:"
		stop = (   0:  9),N,"Shtr Open"
		stop = (R 20: 99),N,"Shtr Open"
		stop = (R230:239),N,"Shtr Open"
		stop = ( 180:204),N,"MusicTrig"
		stop = ( 205:229),N,"AutoTrig"
		stop = (R  0:255),N,"seeDisp24"
      
//--------------------------------------------------

	parameter
		name = "-CFX SPD-"
		displayerNum = 22
		type = B
		attribList = 6
		stop = (M255:  0),2,"CFxSpd="

   Parameter
      name = "-SPEED-"   
      displayerNum = 23
      type = B
      attribList = 5
      stop = (   0:  2),N,"Tracking"
      stop = (M255:  3),2,"Speed:"

	parameter
		name = "-CONTROL-"
		displayerNum = 24
		type = N
		attribList = 1,2,3
		stop = (   0:  0,R  0:255,R  0:255),N,"Run Mode" 
		stop = ( 250:255, 255:255, 255:255),N,"Lamp Off"  // Requires 2+3 = >252
		stop = (  10: 19,R  0:255,R  0:255),N,"Lamp On"
		stop = ( 240:249,R  0:255,R  0:255),N,"Reset"
		stop = (R  0:  9,R  0:255,R  0:255),N,"Run Mode"
		stop = (R 20: 99,R  0:255,R  0:255),N,"Run Mode"
		stop = (R230:239),N,"Run Mode"
            
end

