Works with firmware version 100527

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@18 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
bergamaschi
2010-05-26 09:04:14 +00:00
parent aeab347db6
commit 8a5bc0750d
14 changed files with 875 additions and 254 deletions

View File

@ -34,19 +34,20 @@ int main(int argc, char *argv[])
b=0;
printf("opening stop server on port %d\n",portno);
}
#ifndef VIRTUAL
system("bus -a 0xb0000000 -w 0xd0008");
#endif
init_detector(b);
bindSocket(portno);
if (getServerError())
if (getServerError()) {
printf("server error!\n");
return -1;
}
/* assign function table */
function_table();
#ifdef VERBOSE
printf("function table assigned \n");
#endif
/* waits for connection */