diff --git a/src/rec/aiRecord.c b/src/rec/aiRecord.c index e7e72cc9d..c902c3c2d 100644 --- a/src/rec/aiRecord.c +++ b/src/rec/aiRecord.c @@ -201,18 +201,6 @@ static long process(void *precord) return(S_dev_missingSup); } - /* event throttling */ - /*Will not work with new event systems*/ -/* - if (pai->scan == SCAN_IO_EVENT) { - if ((pai->evnt != 0) && (gts_trigger_counter != 0)){ - if ((gts_trigger_counter % pai->evnt) != 0){ - return(0); - } - } - } -*/ - status=readValue(pai); /* read the new value */ /* check if device support set pact */ if ( !pact && pai->pact ) return(0); diff --git a/src/rec/waveformRecord.c b/src/rec/waveformRecord.c index f70208c18..0b645ad98 100644 --- a/src/rec/waveformRecord.c +++ b/src/rec/waveformRecord.c @@ -216,18 +216,6 @@ static long process(pwf) recGblRecordError(S_dev_missingSup,(void *)pwf,"read_wf"); return(S_dev_missingSup); } - /* event throttling */ - /* will not work with new event system*/ -/* - if (pwf->scan == SCAN_IO_EVENT){ - if ((pwf->evnt != 0) && (gts_trigger_counter != 0)){ - if ((gts_trigger_counter % pwf->evnt) != 0){ - status=readValue(pwf); - return(0); - } - } - } -*/ if ( pact && pwf->busy ) return(0);