Plugins
Covers Engine Plugin SDK 2.0.0 · Interface Plugin SDK 0.2.0
SDK_API::createFixedChannel
Creates a channel in fixed RAPID storage, or promotes an existing dynamic channel.
Call during startup configuration or a task’s on_configure callback. The engine’s declared configuration transaction permits layout updates after active task snapshots drain, even when the layout is sealed. Direct layout changes outside that boundary remain restricted. This writes initial_value; ordinary subsequent field writes preserve fixed storage. Do not recreate the channel in every acquisition callback.
Declaration
void createFixedChannel(const std::string& channel, double initial_value = 0.0);Parameters
| Name | Description |
|---|---|
channel | Flat channel name. |
initial_value | Initial numeric value; defaults to zero. |