Subversion Repositories f9daq

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
117 f9daq 1
#ifndef _daqscope_h_
2
#define _daqscope_h_
3
 
4
#define WAVE_LEN 100000
5
 
6
//class VmUsbStack;
7
class daqscope {
8
public:
9
//  VmUsbStack * fStack;
10
//  VmUsbStack * fInit;
11
 
12
  int OSrepetition;
13
  int OSmeasu;
14
  int OSmeasuchan;
15
  int OSgating;
16
  int OSsaving;
17
  int OSinf;
18
  int nmeaslc;
19
  char OSchannels[1024];
20
  char IP[1024];
21
  char lecroycmd[1024];
22
  char lecroycmd2[1024];
23
  char lecroywfm[1024];
24
  int lecroystate;
25
  char pch[1024];
26
  char lecroyadd[1024];
27
  char multibuf[WAVE_LEN];
28
  char eventbuf[WAVE_LEN];
29
  double tektime,tekvolt,lctime,lcvolt;
30
  int fastacqstate; /* GKM - variable that saves the fastacq state */
31
  double choffset; /* GKM - position offset for signal */
32
 
33
  int fPoints;
34
  int fStop;
35
  int fMode;
36
  int clear();
37
  int end();
38
  int event();
39
  int lecroyevent();
40
  void measurement(float&);
41
  void measulecroy(float&);
42
  void measumult();
43
  int init();
44
  int initlecroy();
45
  int connect(char* IPaddr);
46
  int disconnect(char* IPaddr);
47
  void fileopen(const char*);
48
  void fileclose();
49
  void countcontrol();
50
  void fastacq(int setting); /* GKM - gets tek out of fastacq*/
51
  void header();
52
  void measuheader();
53
  void lecroyheader();
54
  void lecroywave();
55
  double tekunit(char*);
56
  double lcunit(char*);
57
  daqscope();
58
//  daqscope(const char *);
59
  ~daqscope();
60
};
61
 
62
#endif