Blame |
    Last modification |
    View Log
    | RSS feed
  
  
#ifndef _daq_h_
 
#define _daq_h_
 
 
 
#define BUFF_L 2048
 
 
 
// Number of channels we are using (used only if we run daqusb.C, not the GUI version)
 
//#define NTDC 1        /* TDC */ 
 
//#define NTDCCH 1
 
//#define NADC 2        /* ADC */ 
 
//#define NADCCH 1
 
 
 
// Class for measurement process (DAQ for CAMAC)
 
class daq
 
{
 
private:
 
// Number of channels we are using
 
  int NTDC;
 
  int NTDCCH;
 
  int NADC;
 
  int NADCCH;
 
 
 
  int devDetect;        // variable to tell if we detect any devices
 
public:
 
  unsigned long stackwrite[BUFF_L],stackdata[10000],stackdump[27000];
 
  int fStop;
 
  int connect();
 
  int init(int);
 
  int start();
 
  int event(unsigned int *, int);
 
  int stop();
 
  int disconnect(); 
 
  daq();
 
  ~daq();
 
};
 
 
 
#endif