Callback
Execute component logic periodically or in response to an event.
A Callback is an executable entry point inside a software component. Choose periodic execution to run at a fixed interval, or event execution to run when the Control input meets its configured activation condition.
Add Callback from the block palette, or select Convert to Callback on a root-level Container. Configure its execution mode in Properties. Use the build configuration to select callbacks and arrange their execution order.
In MDL, declare a callback with its schedule:
component Example:
diagram:
y = callback Control() every 10ms:
y = 1.0