Index: /fact/BIASctrl/Crate.cc
===================================================================
--- /fact/BIASctrl/Crate.cc	(revision 10904)
+++ /fact/BIASctrl/Crate.cc	(revision 10905)
@@ -260,5 +260,5 @@
 
 	// Add command to buffer
-	Buf += char(3<<5) |  char(it->first/NUM_CHANNELS<<1 & 0x0f) | char((it->first%NUM_CHANNELS&16)>>4 & 1);
+	Buf += char(3<<5) |  char(it->first/NUM_CHANNELS<<1) | char((it->first%NUM_CHANNELS&16)>>4 & 1);
 	Buf += char(it->first%NUM_CHANNELS<<4) | ((((unsigned int) (it->second/90.0*0x0fff))>>8) & 0x0f);
 	Buf += char(it->second/90.0*0x0fff);
Index: /fact/BIASctrl/History.txt
===================================================================
--- /fact/BIASctrl/History.txt	(revision 10904)
+++ /fact/BIASctrl/History.txt	(revision 10905)
@@ -11,2 +11,3 @@
 11/2/2011	Removed Lockfile (DIM will prevent starting two instances)
 			Added 'crate' command. Changed signaling of program exit.
+3/6/2011	Fixed bug in channel addressing from board numbers above 7.
