Dear Sudeshna
The easiest way would be to call your "Update" function from EventHandler function of your tabs.
You may or may not have a function named "Update", but I believe you must have a function to update your graphics
when your "Update" button is clicked.
You can call the same thing from EventHandler function, then it will keep the display updated.
If you want to control the frequency of the update of each tab, you can see two examples,
$ROMESYS/examples/argus/thread/
$ROMESYS/examples/argus/timer/
The examples update the display with using different tools (making other update thread or by using TTimer of ROOT).
Ryu
> Is it possible to have the pads automatically updated with the update frequency
> (set at romeConfig.xml) while using user-defined src/tabs codes?
> Suppose I write a tab code under src/tabs where I have created an "update" button.
> Now on the Argus display monitor, if I click on the "update" button, the display
> will be updated. But what I've noticed is that clicking on the update button
> introduces a delay. By the time the display is actually updated I've missed some
> events already.
>
> Is there any way to sync the update button with the update frequency in the
> romeConfig.xml? So that it keeps up with every event?
>
> I would really appreciate if anyone have any suggestion for this situation.
>
> Thanks a lot!
> Sudeshna |