Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  13 Jan 2021, Isaac Labrie Boulay, Forum, poll_event() is very slow. 
    Reply  13 Jan 2021, Konstantin Olchanski, Forum, poll_event() is very slow. 
       Reply  15 Jan 2021, Isaac Labrie Boulay, Forum, poll_event() is very slow. 
    Reply  13 Jan 2021, Stefan Ritt, Forum, poll_event() is very slow. 
       Reply  14 Jan 2021, Pintaudi Giorgio, Forum, poll_event() is very slow. 
       Reply  14 Jan 2021, Isaac Labrie Boulay, Forum, poll_event() is very slow. 
          Reply  08 Feb 2021, Konstantin Olchanski, Forum, poll_event() is very slow. 
This is a draft message, edit and submit it to make it permanent  
Message ID: 2073     Entry time: 13 Jan 2021     In reply to: 2071
Author: Pierre-Andre Amaudruz 
Topic: Forum 
Subject: poll_event() is very slow. 
> Hi all,
> 
> I'm currently trying to see if I can speed up polling in a frontend I'm testing. 
> Currently it seems like I can't get 'lam's to happen faster than 120 times/second. 
> There must be a way to make this faster. From what I understand, changing the poll 
> time (500ms by default) won't affect the frequency of polling just the 'lam' 
> period.
> 
> Any suggestions?
> 
> Thanks for your help!
> 
> Isaac

Hi,

How many equipment do you have and of what type?
What is the measured readout time of your equipment?

As you mentioned the polling time define the maximum time you spend in the in polling call before checking other equipment and system activities. But as soon as you get a LAM during the polling loop, the event is readout. The readout time of this equipment is obviously to be considered as well.

In case you have multiple equipment, the readout time of the other equipment is to be taken in account as you wont return to your polling prior the completion of them.
ELOG V3.1.4-2e1708b5