Preparing the Runtime

This article was written for version 2.0.9 of Core. Click here for the most recent version of the help center.

1. PolySync Manager

Each host has a PolySync manager node which is responsible for starting and stopping the runtime. The manager starts or stops nodes based on commands received over the PolySync bus in the form of ps_command_msg’s.

Depending on the runtime context, the manager references the system SDF , or the replay SDF to know which nodes to start/stop. The SDF(s) must be accurate and be installed to the appropriate location before the runtime is started.

The manager must be running in the background to start and stop nodes on the local host. The manager node must be started on each host ECU in a distributed system.

1.1 Starting the manager

To start the manager:

$ polysync-core-manager
2033-07-21 17:45:49 DEBUG [15572:src/polysync_core.c:884] manager_daemon : created daemon process

The manager is now running in daemon mode, and other nodes can now be started. The manager will respond to command messages from Studio and other applications on the bus, to start/stop nodes under the appropriate runtime state─hardware, replay or standby.