Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
117 | f9daq | 1 | #ifndef _daq_h_ |
2 | #define _daq_h_ |
||
3 | |||
4 | #define BUFF_L 2048 |
||
5 | |||
6 | // Number of channels we are using (used only if we run daqusb.C, not the GUI version) |
||
7 | #define NTDC 1 /* TDC */ |
||
8 | #define NTDCCH 1 |
||
9 | #define NADC 2 /* ADC */ |
||
10 | #define NADCCH 1 |
||
11 | |||
12 | // Class for measurement process (DAQ for CAMAC) |
||
13 | class daq |
||
14 | { |
||
15 | public: |
||
16 | unsigned long stackwrite[BUFF_L],stackdata[10000],stackdump[27000]; |
||
17 | int fStop; |
||
18 | int connect(); |
||
19 | int init(); |
||
20 | int start(); |
||
21 | int event(unsigned int *, int); |
||
22 | int stop(); |
||
23 | int disconnect(); |
||
24 | daq(); |
||
25 | ~daq(); |
||
26 | }; |
||
27 | |||
28 | #endif |