Subversion Repositories f9daq

Rev

Rev 197 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
195 f9daq 1
#ifndef _DRSREAD_H_
2
#define _DRSREAD_H_
3
#ifdef DLLMAIN
4
#define DLLEXPORT extern "C" __declspec(dllexport)
5
#else 
6
//#define DLLEXPORT  __declspec(dllimport)
7
#define DLLEXPORT   
8
#endif
9
 
10
DLLEXPORT void DRSSetMask(int mask);
11
DLLEXPORT void DRSSetTriggerType(int type);
12
DLLEXPORT void DRSSetFrequency(int freq);
13
DLLEXPORT void DRSSetRange(double range);
14
DLLEXPORT void DRSSetTriggerChannel(int channel);
15
DLLEXPORT void DRSSetTriggerDelay(double delay);
16
DLLEXPORT void DRSSetTriggerLevel(double level);
17
DLLEXPORT void DRSSetTriggerPolarity(int polarity);
18
 
19
DLLEXPORT float * DRSGetTime(int ch);
20
DLLEXPORT float * DRSGetWave(int ch);
21
 
22
DLLEXPORT int DRSInit();
23
DLLEXPORT int DRSRead( int drstimer);
24
DLLEXPORT int DRSEnd();
25
DLLEXPORT int DRSToBuffer( unsigned char *p, int m_evSerial  );
26
 
27
DLLEXPORT int DRSIsTimeout();
28
DLLEXPORT void DRSSetTimeout ( void );
29
 
30
DLLEXPORT void DRSSigInt ( int k );
31
#endif