Subversion Repositories f9daq

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
326 f9daq 1
#ifndef CAEN_V729_H
2
#define CAEN_V729_H
3
 
4
#define V729_OFFSET 0x880000
5
 
6
typedef struct  {
7
  uint32_t mask;
8
  int  cbl;
9
  int nall;
10
  char filename[0xFF];
11
  int verbose ;
12
  int neve    ;
13
  uint32_t addr;
14
  uint32_t bias1 ;
15
  uint32_t bias2;
16
  int append;
17
  int panel;
18
  FILE *fp;
19
  double fraction;
20
} CAEN_V729_PARAM;
21
 
22
void V729_map( uint32_t addr);
23
void V729_info(FILE *kam);
24
void V729_reg( uint32_t val);
25
void V729_reset(int nall,int nbefore,int obae,int obaf);
26
void V729_set_bias(int range, int bias1, int bias2);
27
void V729_aquisition_mode(uint32_t mode);
28
void V729_soft_stop( void);
29
void V729_clear_buffer(void) ;
30
void V729_get_buffer(uint32_t *data1, uint32_t *data2);
31
void V729_init(uint32_t addr, int nall, int cbl, uint32_t bias1, uint32_t bias2);
32
int V729_status( void );
33
int V729_event(int mask, int nall, uint32_t *data,uint32_t *data1,uint32_t *data2);
34
int V729_decode(uint32_t mask, int nall, uint32_t *data,  uint16_t *dadc, int debug);
35
void V729_Usage(void);
36
int V729_GetParams(int argc,char **argv);
37
int V729_LoadPanel (int Parent_Panel_Handle, char Filename[], int Panel_Resource_ID);
38
int  V729_SetFilePointer (FILE *fp);
39
int  V729_main (int argc,char **argv);
40
int CVICALLBACK V729_daq(void *functionData);
41
#endif