Threads

The TREP Adapter can open multiple channels to RTDS, each on a separate thread. This is controlled with the configuration options max-threads and max-thread-objects.

max-threads

Type: Integer

Default: 1

Valid values: 1–64 (inclusive)

Maximum number of threads to handle data from RTDS.

max-thread-objects

Type: Integer

Default: 1500

This sets the maximum number of objects that will be subscribed to on a single thread (and therefore RTDS channel). Note that if max-threads and max-thread-objects are both reached, it is the max-thread-objects limit which is broken.