Changeset 10905 for fact/BIASctrl


Ignore:
Timestamp:
06/03/11 15:46:19 (14 years ago)
Author:
neise
Message:
Fixed a bug in board addressing
Location:
fact/BIASctrl
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • fact/BIASctrl/Crate.cc

    r10153 r10905  
    260260
    261261        // Add command to buffer
    262         Buf += char(3<<5) |  char(it->first/NUM_CHANNELS<<1 & 0x0f) | char((it->first%NUM_CHANNELS&16)>>4 & 1);
     262        Buf += char(3<<5) |  char(it->first/NUM_CHANNELS<<1) | char((it->first%NUM_CHANNELS&16)>>4 & 1);
    263263        Buf += char(it->first%NUM_CHANNELS<<4) | ((((unsigned int) (it->second/90.0*0x0fff))>>8) & 0x0f);
    264264        Buf += char(it->second/90.0*0x0fff);
  • fact/BIASctrl/History.txt

    r10153 r10905  
    111111/2/2011       Removed Lockfile (DIM will prevent starting two instances)
    1212                        Added 'crate' command. Changed signaling of program exit.
     133/6/2011        Fixed bug in channel addressing from board numbers above 7.
Note: See TracChangeset for help on using the changeset viewer.