Ignore:
Timestamp:
11/24/10 12:11:50 (14 years ago)
Author:
ogrimm
Message:
Fast ramping for many channels
File:
1 edited

Legend:

Unmodified
Added
Removed
  • fact/BIASctrl/Crate.h

    r10052 r10059  
    1010#include <string>
    1111#include <vector>
     12#include <map>
    1213
    1314#include "dis.hxx"
     
    2728        DimService *NameService;
    2829
    29         std::vector<char> Communicate(unsigned char*, int);
     30        std::vector<char> Communicate(std::string);
    3031        void ClearVoltageArrays();
    3132   
     
    3940        int Current[MAX_NUM_BOARDS][NUM_CHANNELS];
    4041        bool OC[MAX_NUM_BOARDS][NUM_CHANNELS];
     42        bool Present[MAX_NUM_BOARDS][NUM_CHANNELS];
    4143        bool ResetHit;
    4244        bool WrapOK;
     
    4446        int ErrorCount;
    4547
    46         int DAC[MAX_NUM_BOARDS][NUM_CHANNELS];      // Voltage in DAC units
     48        unsigned int DAC[MAX_NUM_BOARDS][NUM_CHANNELS];      // Voltage in DAC units
    4749        double Volt[MAX_NUM_BOARDS][NUM_CHANNELS];  // Voltage in Volt
    4850        int CurrentOffset[MAX_NUM_BOARDS][NUM_CHANNELS]; // Offset for current measurement
     
    5052        bool InitOK;
    5153
    52         int SetAll();
     54        int SetChannels(std::map<unsigned int, unsigned int>);
    5355        int ReadAll();
    5456        int SystemReset();
    55         int ReadChannel(unsigned int, unsigned int);
    5657        int GlobalSet(unsigned int);
    57         int ChannelSet(int, int, unsigned int);
    5858        bool Synch();
    5959        bool CurrentCalib(double);
Note: See TracChangeset for help on using the changeset viewer.