Last change
on this file since 20 was 14, checked in by lstark, 16 years ago |
first version of hvcontrol added
|
File size:
690 bytes
|
Line | |
---|
1 |
|
---|
2 | #ifndef HVCONFIG_H_SEEN
|
---|
3 | #define HVCONFIG_H_SEEN
|
---|
4 |
|
---|
5 | #include <time.h>
|
---|
6 |
|
---|
7 | #include <string.h>
|
---|
8 |
|
---|
9 | #include "Types.h"
|
---|
10 |
|
---|
11 | class HVConfig {
|
---|
12 |
|
---|
13 | public:
|
---|
14 |
|
---|
15 | HVConfig(FILE* fptr, char *configfile=NULL);
|
---|
16 | ~HVConfig();
|
---|
17 |
|
---|
18 | int ReadHVConfig(FILE* fptr, char *configfile);
|
---|
19 | int PrintHVConfig(FILE* fptr);
|
---|
20 | int WriteHVConfig(FILE* fptr, char *configfile);
|
---|
21 |
|
---|
22 | int NumHVBoards;
|
---|
23 | int USBDeviceNumber[MAX_NUM_HVBOARDS];
|
---|
24 |
|
---|
25 | int fCCPort;
|
---|
26 | char *fCCClient;
|
---|
27 |
|
---|
28 | bool IsDAC;
|
---|
29 | float Coef[MAX_NUM_HVBOARDS][MAX_NUM_CHAINS][2];
|
---|
30 |
|
---|
31 | char* FileName;
|
---|
32 | char* fLogPath;
|
---|
33 | char** fUSBDevice;
|
---|
34 |
|
---|
35 | float fTimeOut;
|
---|
36 | float fStatusRefreshRate;
|
---|
37 |
|
---|
38 | float fHVCalibOffset;
|
---|
39 | float fHVCalibSlope;
|
---|
40 | float fHVMaxDiff;
|
---|
41 |
|
---|
42 | };
|
---|
43 |
|
---|
44 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.