Overview
| Artifact ID: | 51f44bdff373203372dce12c87c577e5e69da5ce |
|---|---|
| Ticket: | 432038ffffffffffffffffffffffffffffffffff
after problems when date is changed |
| User & Date: | s_a_white on 2004-03-17 17:26:57 |
Changes
- icomment:
Logged In: YES user_id=59929 We use tcl for the graphical interface of an embedded instrument. To the user it is the only application running and the instrument is standalone (i.e. no network connection). The application is responsible for everything, it configures all hardware parameters (including system clock), lays out embedded windows, has a keyboard manager for keyboard navigation (there is no mouse and only a simplified keyboard). The instrument can take measurements but the visual displaying of the results need not be in realtime. Some results are performed through slow periodic updates queried from tcl is similar loops as shown below. We also have a scollable knob on the front panel which results in the equivalent of cursor key presses at very high speed. We use after to determine when the events have slowed down to a sufficient rate that we wont overload the cpu when doing work as a result of those events. There are also various other cases along these lines. In all cases it does not matter if the odd event executes too soon from after, as we can if necessary compensate in afters callback. However what we cannot deal with is when the user adjusts the time such the all those events based of after appear to hang.
- login: "s_a_white"
- mimetype: "text/plain"
- username: "s_a_white"