Last change
on this file since 20 was 14, checked in by lstark, 16 years ago |
first version of hvcontrol added
|
File size:
757 bytes
|
Line | |
---|
1 | #ifndef CTXTYPES_H_SEEN
|
---|
2 | #define CTXTYPES_H_SEEN
|
---|
3 |
|
---|
4 | #include <stdio.h>
|
---|
5 | #include <stdlib.h>
|
---|
6 |
|
---|
7 | #define HV_CONTROL_VERSION "V1.0"
|
---|
8 |
|
---|
9 | #define I8 char
|
---|
10 | #define U8 unsigned char
|
---|
11 | #define I16 short
|
---|
12 | #define U16 unsigned short
|
---|
13 | #define I32 int
|
---|
14 | #define U32 unsigned int
|
---|
15 | #define F32 float
|
---|
16 | #define F64 double
|
---|
17 | #define Boolean char
|
---|
18 |
|
---|
19 | #define TRUE 1
|
---|
20 | #define FALSE 0
|
---|
21 |
|
---|
22 | #define FILENAME_MAX_SIZE 256
|
---|
23 | #define MAX_COM_SIZE 1000
|
---|
24 | #define MAX_NUM_HVBOARDS 20
|
---|
25 | #define MAX_NUM_CHAINS 4
|
---|
26 | #define MAX_NUM_CHANNELS 32
|
---|
27 | #define MAX_PATH 256
|
---|
28 | #define STR_LENGTH 256
|
---|
29 | #define BUFFER_LENGTH 256
|
---|
30 |
|
---|
31 | #define USB_MAX_DEVICE_NUMBER 65000
|
---|
32 | #define USB_MIN_DEVICE_NUMBER 0
|
---|
33 |
|
---|
34 | #define MIN_TIMEOUT 0.01
|
---|
35 | #define MAX_TIMEOUT 5.0
|
---|
36 |
|
---|
37 | #define MIN_RATE 0.01
|
---|
38 | #define MAX_RATE 50.0
|
---|
39 |
|
---|
40 | #endif
|
---|
41 |
|
---|
42 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.