This documentation was styled with a demo skin from the Premium Pack 4 add-on for Help & Manual. The contents of the skin are encrypted and not configurable. You can only publish HM projects with this skin. You cannot edit it or change it.
This version is copyright and may only be used for local testing purposes. It may not be distributed.
Please purchase the full version of the Premium Pack to get the configurable skins and remove this notice. The package will also include the Toolbox configuration utility for Premium Pack skins.
Description
Update buffered graphical statements, drawing them to the selected canvas target.
Syntax
Canvas_Redraw
Returns
None
Parameters
Name |
Type |
Optional |
Meaning |
Remarks
Windows usually runs with time slices of about 15 to 16msec (64Hz).
When you do Canvas_Redraw (or any other Canvas update of the visible window on the screen) then the update is done and the remainder of the time slice is handed back to the operating system even though you could do other actions with it.Since you update your screen after each data item you will then be limited to incoming data at the time slice rate of 64Hz.
The quick fix is to tell Windows to reduce the time slice to a minimum. It will usually reduce it to 1 or 2 msec.
You can do it using TimeBeginPeriod / TimeEndPeriod pairs functions.
Restrictions
See also
Examples