Rev 198 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 198 | Rev 265 | ||
---|---|---|---|
1 | #ifndef _DRSREAD_H_ |
1 | #ifndef _DRSREAD_H_ |
2 | #define _DRSREAD_H_ |
2 | #define _DRSREAD_H_ |
3 | #ifdef DLLMAIN |
3 | #ifdef DLLMAIN |
4 | #define DLLEXPORT extern "C" __declspec(dllexport) |
4 | #define DLLEXPORT extern "C" __declspec(dllexport) |
5 | #else |
5 | #else |
6 | //#define DLLEXPORT __declspec(dllimport) |
6 | //#define DLLEXPORT __declspec(dllimport) |
7 | #define DLLEXPORT |
7 | #define DLLEXPORT |
8 | #endif |
8 | #endif |
9 | 9 | ||
10 | DLLEXPORT void DRSSetMask(int mask); |
10 | DLLEXPORT void DRSSetMask(int mask); |
11 | DLLEXPORT void DRSSetTriggerType(int type); |
11 | DLLEXPORT void DRSSetTriggerType(int type); |
12 | DLLEXPORT void DRSSetFrequency(int freq); |
12 | DLLEXPORT void DRSSetFrequency(int freq); |
13 | DLLEXPORT void DRSSetRange(double range); |
13 | DLLEXPORT void DRSSetRange(double range); |
14 | DLLEXPORT void DRSSetTriggerChannel(int channel); |
14 | DLLEXPORT void DRSSetTriggerChannel(int channel); |
15 | DLLEXPORT void DRSSetTriggerDelay(double delay); |
15 | DLLEXPORT void DRSSetTriggerDelay(double delay); |
16 | DLLEXPORT void DRSSetTriggerLevel(double level); |
16 | DLLEXPORT void DRSSetTriggerLevel(double level); |
17 | DLLEXPORT void DRSSetTriggerPolarity(int polarity); |
17 | DLLEXPORT void DRSSetTriggerPolarity(int polarity); |
18 | 18 | ||
19 | DLLEXPORT float * DRSGetTime(int ch); |
19 | DLLEXPORT float * DRSGetTime(int ch); |
20 | DLLEXPORT float * DRSGetWave(int ch); |
20 | DLLEXPORT float * DRSGetWave(int ch); |
21 | 21 | ||
- | 22 | DLLEXPORT int DRSCalibrateTiming(); |
|
22 | DLLEXPORT int DRSInit(); |
23 | DLLEXPORT int DRSInit(); |
23 | DLLEXPORT int DRSRead( int drstimer); |
24 | DLLEXPORT int DRSRead( int drstimer); |
24 | DLLEXPORT int DRSEnd(); |
25 | DLLEXPORT int DRSEnd(); |
25 | DLLEXPORT int DRSToBuffer( unsigned char *p, int m_evSerial ); |
26 | DLLEXPORT int DRSToBuffer( unsigned char *p, int m_evSerial ); |
26 | 27 | ||
27 | DLLEXPORT int DRSIsTimeout(); |
28 | DLLEXPORT int DRSIsTimeout(); |
28 | DLLEXPORT void DRSSetTimeout ( void ); |
29 | DLLEXPORT void DRSSetTimeout ( void ); |
29 | 30 | ||
30 | DLLEXPORT void DRSSigInt ( int k ); |
31 | DLLEXPORT void DRSSigInt ( int k ); |
31 | #endif |
32 | #endif |
32 | 33 |