Subversion Repositories f9daq

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
146 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
  int scopeUseType;
10
  int scopeChanNr;
11
  int scopeChans[8];
12
  char scopeChanstring[256];
13
  int scopeMeasSel;
14
  char eventbuf[WAVE_LEN];
15
  double measubuf;
16
  double tektime, tekvolt;
17
  double choffset;
18
 
19
  int fStop;
20
  double tekunit(char *prefix);
21
 
22
  int init();
23
  int event();
24
  int customCommand(char *command, bool query, char *sReturn);
25
  int connect(char* IPaddr);
26
  int disconnect(char* IPaddr);
27
  int lockunlock(bool lockit);
28
  daqscope();
29
  ~daqscope();
30
 
31
//  VmUsbStack * fStack;
32
//  VmUsbStack * fInit;
33
 
34
/*  int OSrepetition;
35
  int OSmeasu;
36
  int OSmeasuchan;
37
  int OSgating;
38
  int OSsaving;
39
  int OSinf;
40
  int nmeaslc;
41
  char OSchannels[1024];
42
  char IP[1024];
43
  char lecroycmd[1024];
44
  char lecroycmd2[1024];
45
  char lecroywfm[1024];
46
  int lecroystate;
47
  char pch[1024];
48
  char lecroyadd[1024];
49
  char multibuf[WAVE_LEN];
50
  char eventbuf[WAVE_LEN];
51
  double tektime,tekvolt,lctime,lcvolt;
52
  int fastacqstate; // GKM - variable that saves the fastacq state
53
  double choffset; // GKM - position offset for signal
54
 
55
  int fPoints;
56
  int fStop;
57
  int fMode;
58
  int clear();
59
  int end();
60
  int event();
61
  int lecroyevent();
62
  void measurement(float&);
63
  void measulecroy(float&);
64
  void measumult();
65
  int init();
66
  int initlecroy();
67
  int connect(char* IPaddr);
68
  int disconnect(char* IPaddr);
69
  void fileopen(const char*);
70
  void fileclose();
71
  void countcontrol();
72
  void fastacq(int setting); // GKM - gets tek out of fastacq
73
  void header();
74
  void measuheader();
75
  void lecroyheader();
76
  void lecroywave();
77
  double tekunit(char*);
78
  double lcunit(char*);
79
  daqscope();
80
//  daqscope(const char *);
81
  ~daqscope();*/
82
};
83
 
84
#endif