]> jspc29.x-matter.uni-frankfurt.de Git - daqdata.git/commitdiff
working version, beleiving the triggertag from TOF may be dangerous
authorhades <hades>
Fri, 31 Aug 2001 00:17:01 +0000 (00:17 +0000)
committerhades <hades>
Fri, 31 Aug 2001 00:17:01 +0000 (00:17 +0000)
right now

hadaq/hwtrig.c

index 12bc453a1255d30db0c0515e698304e88b37860f..90defe1ab5a98e2a3044a83f5dae51124d6ca7a6 100644 (file)
@@ -1,4 +1,4 @@
-static char *rcsId = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/Attic/hwtrig.c,v 6.17 2001-04-23 22:22:14 hades Exp $";
+static char *rcsId = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/Attic/hwtrig.c,v 6.18 2001-08-31 00:17:01 hades Exp $";
 
 #define _POSIX_C_SOURCE 199309L
 #include <unistd.h>
@@ -137,7 +137,7 @@ void Hardware_waitForTrigger(Hardware *my, void *partEvt)
                        /* wait for some time for not disturbing the DSP */
                        struct timespec tS, *t = &tS;
                        t->tv_sec = 0;
-                       t->tv_nsec = 100000000;
+                       t->tv_nsec = 20000000;
                        nanosleep(t, NULL);
                }
        }
@@ -163,7 +163,7 @@ void Hardware_waitForTrigger(Hardware *my, void *partEvt)
     /* wait for some time for not disturbing the DSP */
        struct timespec tS, *t = &tS;
        t->tv_sec = 0;
-       t->tv_nsec = 100000000UL;
+       t->tv_nsec = 20000000UL;
        nanosleep(t, NULL);
        my->old_evtCount=LVme_getL(my->lvme0, MU_EVT_COUNT);
   }