Subversion Repositories f9daq

Rev

Rev 209 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 209 Rev 264
Line 34... Line 34...
34
#define HALIGN 40
34
#define HALIGN 40
35
#endif
35
#endif
36
 
36
 
37
 
37
 
38
/* 2d histogramming */
38
/* 2d histogramming */
-
 
39
#define H2DMAX 500 
39
#define H2D_ID 0x10
40
#define H2D_ID 0x10
40
#pragma pack(4)
41
#pragma pack(4)
41
typedef struct {
42
typedef struct {
42
  unsigned int id,len;
43
  unsigned int id,len;
43
  unsigned int nx;
44
  unsigned int nx;
Line 57... Line 58...
57
  double *data;
58
  double *data;
58
} H2D;
59
} H2D;
59
#pragma pack()
60
#pragma pack()
60
 
61
 
61
double _VI_FUNC H2D_GetYBinCenter(int h2d,int ybin);
62
double _VI_FUNC H2D_GetYBinCenter(int h2d,int ybin);
62
double _VI_FUNC H2D_GetYBinCenter(int h2d,int xbin);
63
double _VI_FUNC H2D_GetXBinCenter(int h2d,int xbin);
63
 
64
 
64
int _VI_FUNC  H2D_Clear(int h2d);
65
int _VI_FUNC  H2D_Clear(int h2d);
65
int _VI_FUNC  H2D_Print(int h2d);
66
int _VI_FUNC  H2D_Print(int h2d);
66
int _VI_FUNC  H2D_Exist(int h2d);
67
int _VI_FUNC  H2D_Exist(int h2d);
67
int _VI_FUNC  H2D_CalculateBin(int h2d, int axis, double value);
68
int _VI_FUNC  H2D_CalculateBin(int h2d, int axis, double value);