mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-11 12:27:14 +02:00
frame index now is set via the multi and sls and sent to receiver when frames/cycles is set, resetframescaught doesnt decide if frames needed, possible problem in acquire scans,gets #frames/cycles from detector,but needed
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@451 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
@ -54,20 +54,17 @@ int init_detector(int b) {
|
||||
printf("This is a VIRTUAL detector\n");
|
||||
#else
|
||||
mapCSP0();
|
||||
|
||||
//only for control server
|
||||
if(b){
|
||||
|
||||
printf("fifo reset\n");
|
||||
fifoReset();
|
||||
printf("fifo test\n");
|
||||
fifoTest();
|
||||
printf("\ninitializing detector\n");
|
||||
//Aurora-Links
|
||||
|
||||
printf("\ninitializing detector\n");
|
||||
#endif
|
||||
#ifdef SLS_DETECTOR_FUNCTION_LIST
|
||||
initializeDetector();
|
||||
|
||||
|
||||
fifoReset();
|
||||
fifoTest();
|
||||
|
||||
//testFpga();
|
||||
//testRAM();
|
||||
//setSettings(GET_SETTINGS,-1);
|
||||
|
Reference in New Issue
Block a user