AdvancedHMI Software

General Category => Tips & Tricks => Topic started by: Archie on June 09, 2013, 09:02:38 PM

Title: Multiple Update Rates on Same Form
Post by: Archie on June 09, 2013, 09:02:38 PM
If you need the update rate of your controls to be faster, you can change the PollRateOverride property of the driver. By default it is 500ms, so you can change it to something like 100ms. However if you have a large number of controls on the form, you can quickly bottleneck the communications.

If you only need a few select controls to update faster, you can achieve this by doing the following:

1) Select the driver in the component tray
2) Right click and select copy (or Ctrl-C)
3) Paste a new copy in the component tray (Ctrl-V)
4) Select the new instance of the driver and change to the PollRateOverride to the faster rate (100)
5) Now select the control on your form that you would like to update faster
6) Change the ComComponent property of the control to the new instance of the driver

The result will be that only the selected control will update faster than the rest and avoid a communication bottleneck.
Title: Re: Multiple Update Rates on Same Form
Post by: nizwa on September 25, 2014, 01:46:20 AM
nice post