mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-23 23:10:02 +02:00

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@476 951219d9-93cf-4727-9268-0efd64621fa3
19 lines
438 B
C++
19 lines
438 B
C++
|
|
#include "UHRIXCallback.h"
|
|
|
|
|
|
int UHRIXCallbackDataFunc(char* d, int np, FILE* fd, void* p){
|
|
//#ifdef VERBOSE
|
|
printf("UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU Receiver Data received \n");
|
|
if (d==NULL)
|
|
printf("no data received\n");
|
|
else{
|
|
printf("received %d bytes of data\n",np);
|
|
printf("index:%d\n",(int)(*(int*)d));
|
|
}
|
|
|
|
printf("UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU Finished \n");
|
|
//#endif
|
|
return 0;
|
|
}
|