Software Description
ComTec GmbH
5-35
long cftfak;
// LOWORD: cft factor (256 * t_after_peak /
//
t_to_peak)
// HIWORD: Max. Width
long roimin;
// lower ROI limit
long roimax;
// upper limit: roimin <= channel < roimax
long nregions;
// number of regions
long caluse;
// bit0: 1 if calibration used,
// higher bits: formula
long calpoints;
// number of calibration points
long param;
// for MAP and SUM/DIF:
//
LOWORD=x, HIGHWORD=y
long offset;
//
zoomed MAPS:
//
LOWORD: xoffset, HIGHWORD, yoffset
long xdim;
//
x resolution of maps
long bitshift;
// LOWORD: Binwidth = 2 ^ (bitshift)
// HIWORD: Time threshold for Coinc.
long active;
// Spectrum definition words for CHN1..6:
// active & 0xF
==0 not used
//
==1 enable
// bit 8: enable Tag bits
// bit 9: start with rising edge
// bit 10: time under threshold for pulse width
// bit 11: pulse width mode for any spectra with
both edges enabled
// Spectrum definition words for calc. spectra:
// active & 0xF
==3 Dualparameter MAP,
//
((x-xoffs)>>xsh) x ((y-yoffs)>>ysh)
//
bit4=1: x zoomed MAP
//
bit5=1: y zoomed MAP
//
==5 SUM, (x + y)>>xsh
//
==6 DIFF,(x - y + range)>>xsh
//
==7 ANY, (for compare)
//
==8 COPY, x
// HIWORD(active) = condition no. (0=no condition)
double eventpreset;
// ROI preset value
double dummy1;
// (for future use..)
double dummy2;
//
double dummy3;
//
} ACQSETTING;
typedef struct {
long sweepmode;
// sweepmode & 0xF: 0 = normal,
// 1=differential
//
(relative to first stop in sweep)
// 4=sequential
// 5=seq.+diff (Ch1), bit0 = differential mode
// 9=differential to stop in Ch2,
//
bit3 = Ch2 ref (diff.mode)
// 0xD = seq.+diff (Ch2)
// bit 4: Softw. Start
// bit 6: Endless
// bit 7: Start event generation
// bit 8: Enable Tag bits
// bit 9: start with rising edge
// bit 10: time over threshold for pulse width
// bit 11: pulse width mode for any
//
spectra with both edges enabled
// bit 12: abandon Sweepcounter in Data
// bit 13: "one-hot" mode with tagbits
// bit 14: ch6 ref (diff.mode)
// bit 15: enable ch6 input
// bit 16..
//
bit 20 ~(input channel enable)
// bit 24: require data lost bit in data
// bit 25: don't allow 6 byte datalength
long prena;
// bit 0: realtime preset enabled