Author Topic: Exposing PollRate property to all controls  (Read 1645 times)

ianfinlay_aus

  • Newbie
  • *
  • Posts: 21
  • www.earthed.net.au
    • View Profile
    • Earthed Solutions Pty Ltd [Custom Software for Engineering]
Exposing PollRate property to all controls
« on: September 16, 2015, 07:15:21 AM »
Dear Support,
I have noticed BasicLabel and a few other controls have a PollRate property, to throttle the rate of interrogation but other controls don't such as:
 - DigitalPanelMeter
 - DigitalPanelMeterBlue
I have several ModbusRtu address values that don't change often, and others constantly updating, can this be added in future
Former Citect SCADA Developer, and integrator
now specialist in bespoke\custom engineering software for scientific and automation sectors

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5359
    • View Profile
    • AdvancedHMI
Re: Exposing PollRate property to all controls
« Reply #1 on: September 16, 2015, 07:28:38 AM »
The PollRate control on a per control basis was a feature that used to work only on the Omron driver. This concept was abandoned in favor of using multiple driver instances. Let's say you have a group of controls that need to update every 100ms and another group that only needs to update every 1s. You add 2 driver instances to the form, set the PollRateOverride to 100 on one driver and 1000 on the other. You then set the ComComponent for each control based on whether you want it to update fast or slow.

ianfinlay_aus

  • Newbie
  • *
  • Posts: 21
  • www.earthed.net.au
    • View Profile
    • Earthed Solutions Pty Ltd [Custom Software for Engineering]
Re: Exposing PollRate property to all controls
« Reply #2 on: September 16, 2015, 07:38:12 AM »
cheers Archie
Former Citect SCADA Developer, and integrator
now specialist in bespoke\custom engineering software for scientific and automation sectors