Roper 4411-0046 Automobile Accessories User Manual


 
Appendix A Data Structure 391
/* (Future Item) */
unsigned int SWmade; /* 1508 Software which created this file */
int NumROI; /* 1510 number of ROIs used. if 0 assume 1 */
/* 1512 - 1630 ROI information */
struct ROIinfo { /* */
unsigned int startx; /* left x start value. */
unsigned int endx; /* right x value. */
unsigned int groupx; /* amount x is binned/grouped in hw. */
unsigned int starty; /* top y start value. */
unsigned int endy; /* bottom y value. */
unsigned int groupy; /* amount y is binned/grouped in hw. */
} ROIinfoblk[10]; /* ROI Starting Offsets: */
/* ROI 1 = 1512 */
/* ROI 2 = 1524 */
/* ROI 3 = 1536 */
/* ROI 4 = 1548 */
/* ROI 5 = 1560 */
/* ROI 6 = 1572 */
/* ROI 7 = 1584 */
/* ROI 8 = 1596 */
/* ROI 9 = 1608 */
/* ROI 10 = 1620 */
char FlatField[120]; /* 1632 Flat field file name. */
char background[120]; /* 1752 Background sub. file name. */
char blemish[120]; /* 1872 Blemish file name. */
float software_ver; /* 1992 Software version. */
char UserInfo[1000]; /* 1996-2995 user data. */
long WinView_id; /* 2996 Set to 0x01234567L if file was */
/* created by WinX */
-------------------------------------------------------------------------------
Calibration Structures
There are three structures for the calibrations
The Area Inside the Calibration Structure (below) is repeated two times.
xcalibration, /* 3000 - 3488 x axis calibration */
ycalibration, /* 3489 - 3977 y axis calibration */
Start of X Calibration Structure
double offset; /* 3000 offset for absolute data scaling */
double factor; /* 3008 factor for absolute data scaling */
char current_unit; /* 3016 selected scaling unit */
char reserved1; /* 3017 reserved */
char string[40]; /* 3018 special string for scaling */
char reserved2[40]; /* 3058 reserved */
char calib_valid; /* 3098 flag if calibration is valid */
char input_unit; /* 3099 current input units for */
/* "calib_value" */
char polynom_unit; /* 3100 linear UNIT and used */