6 #define CAEN_USE_DIGITIZERS
7 #define IGNORE_DPP_DEPRECATED
31 int main(
int argc,
char* argv[])
56 for(b=0; b<
MAXNB; b++){
83 printf(
"Can't open digitizer\n");
88 printf(
"\nConnected to CAEN Digitizer Model %s, recognized as board %d\n", BoardInfo.
ModelName, b);
102 printf(
"Errors during Digitizer Configuration.\n");
106 printf(
"\n\nPress 's' to start the acquisition\n");
107 printf(
"Press 'k' to stop the acquisition\n");
108 printf(
"Press 'q' to quit the application\n\n");
124 for(b=0; b<
MAXNB; b++)
132 for(b=0; b<
MAXNB; b++) {
142 count[b] +=numEvents;
143 for (i=0;i<numEvents;i++) {
155 if (c == 1)
goto Continue;
156 if (c == 2)
goto Continue;
161 for(b=0; b<
MAXNB; b++)
162 printf(
"\nBoard %d: Retrieved %d Events\n",b,
count[b]);
169 for(b=0; b<
MAXNB; b++)
171 printf(
"Press 'Enter' key to exit\n");