Ask or search…

Sync Interrupts

Controller sample rate events.

What are Sync Interrupts?

Sync Interrupts are specialized mechanisms in our API that allow you to trigger and wait for an event/interrupt every specific (N) of controller periods, where a period corresponds to a sample rate cycle.
They are designed to wake a task at precise, regular intervals to allow for any host processing that needs to take place at the start of the controller's sample rate cycle.
Most interrupts for the controller are used directly from our RapidCode Axis and MultiAxis classes. The Sync Interrupt is typically the only Controller-specific interrupt. Sync Interrupts are only intended for real-time operating systems.
Sync Interrupts must be turned on using our RapidCode API.
Last modified 1mo ago