The Octave Developer Hub

Welcome to the Octave developer hub. You'll find comprehensive guides and documentation to help you start working with Octave as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started

Throttling

When handling an Input that sends data at a high rate (e.g., 10 times per second), it can be useful to "throttle" the inputs to avoid reporting each and every value.

This section uses the example of throttling the value of the light sensor included with the mangOH Red, to illustrate how periodically report the value every 10 seconds.

Note that in this configuration, the last known light value at the 10 second interval will be reported. In some cases it may be useful to also configure a buffer, function, and/or filter in addition to throttling, as described in the previous sections.

  1. Create an Observation that Buffers Data.
  2. Enable Throttle events.
  3. Enter 10 into Period. This specifies the time, in seconds, at which the current value from the light sensor will be reported.
  4. Click Save to complete the modification to the Observation.

Updated 3 months ago

Throttling


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.