Subversion Repositories f9daq

Rev

Rev 198 | 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
 
265 f9daq 22
DLLEXPORT int DRSCalibrateTiming();
195 f9daq 23
DLLEXPORT int DRSInit();
24
DLLEXPORT int DRSRead( int drstimer);
25
DLLEXPORT int DRSEnd();
26
DLLEXPORT int DRSToBuffer( unsigned char *p, int m_evSerial  );
27
 
28
DLLEXPORT int DRSIsTimeout();
29
DLLEXPORT void DRSSetTimeout ( void );
30
 
31
DLLEXPORT void DRSSigInt ( int k );
32
#endif