--------------------------------------------------
Excel-DNA is now registered on GitHub Sponsors.
By signing up for a monthly contribution you encourage further development and support.
--------------------------------------------------
Hi there,
You’re seeing the Excel RTD throttle interval at play.
Excel-DNA implements the async functions using RTD behind the scenes. Excel has a setting called the RTD Throttle Interval. The default value is 2000 milliseconds, and it can be set using the COM object model by modifying the Application.RTD.ThrottleInterval value (in milliseconds). The settings I global (for all RTD servers and all Excel instances) and is persistent (so if set it will stay that way in future Excel runs). Other add-ins may also be settings this values and be affected by this value, so one should be careful when setting it.
A ThrottleInterval of 2 seconds means Excel will not process RTD updates more often than every 2 seconds. So even if you push data every 100 milliseconds Excel will wait for 2 seconds after the last fetch before it processes the new RTD data.
Mostly you can safely set the value to something like 500, but I would not make it too small, otherwise Excel can become unstable.
It’s also a good idea to give the user a way to opt out of this setting, should they run into trouble.
-Govert
--
You received this message because you are subscribed to the Google Groups "Excel-DNA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to exceldna+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/exceldna/4bf7baf0-661c-462f-8870-2c45971f364an%40googlegroups.com.