copy call back data verbose

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@255 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
l_maliakal_d 2012-09-17 15:19:45 +00:00
parent 3f5bda1674
commit 4b3fecbaf0
2 changed files with 4 additions and 0 deletions

View File

@ -309,6 +309,10 @@ int defaultDataReadyFunc(detectorData* d, void* p) {
printf("UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU Data received \n"); printf("UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU Data received \n");
printf("Filename %s\n",d->fileName); printf("Filename %s\n",d->fileName);
printf("Number of points %d (%d)\n",d->npoints,d->npy); printf("Number of points %d (%d)\n",d->npoints,d->npy);
for(int i=0;i<d->npoints;i++){
printf("%d-[%f]:%f\n",i,*(d->angles+(i*sizeof(double))),*(d->values+(i*sizeof(double))));
fflush(stdout);
}
printf("UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU Finished \n"); printf("UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU Finished \n");
#endif #endif
return 0; return 0;