by default readout through blackfin upon server startup

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@422 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
l_maliakal_d
2013-01-11 09:17:41 +00:00
parent da2fd8369d
commit 42fe126f33
2 changed files with 12 additions and 6 deletions

View File

@ -69,7 +69,8 @@ int init_detector( int b) {
if (b) {
#ifdef MCB_FUNCS
initDetector();
printf("\n----initdetector done! new serverRdRR\n\n");
printf("\n***initdetector done*** \n\n");
#endif
testFpga();
testRAM();
//gotthard specific
@ -85,10 +86,11 @@ int init_detector( int b) {
setPeriod(1e9);
setDelay(0);
setGates(0);
#endif
setTiming(GET_EXTERNAL_COMMUNICATION_MODE);
setMaster(GET_MASTER);
setSynchronization(GET_SYNCHRONIZATION_MODE);
startReceiver(0);
}
strcpy(mess,"dummy message");
strcpy(lastClientIP,"none");