I have a form that triggers every 500ms, using the OnTimer event. The code that executes basically communicates with an external device, retrieves some data, which is then written to a table for logging.
I am creating a second form that I wish to trigger every 5 minutes to query the data written to the first table, write the results to a second table, which I will then use to create a graph in the second form. The graph will be visible at all times and update using the OnTimer event in the second form.
I will probably have up to 4 ‘pairs’ of forms running.
Is it better to use separate timer events in each form to control my project or should I just have one timer event to control the lot?
I am creating a second form that I wish to trigger every 5 minutes to query the data written to the first table, write the results to a second table, which I will then use to create a graph in the second form. The graph will be visible at all times and update using the OnTimer event in the second form.
I will probably have up to 4 ‘pairs’ of forms running.
Is it better to use separate timer events in each form to control my project or should I just have one timer event to control the lot?