Interface MonitoringConfig

Configuration interface for monitoring settings.

Hierarchy

  • MonitoringConfig

Properties

bufferSize?: number

Specifies the size of the buffer for monitoring messages from Motion Master before emitting them. This is useful, for example, for collecting a certain number of data points over time in a worker thread before emitting them to the main thread for plotting purposes.

collect?: boolean

Enables the collection of all monitoring data in DataMonitoring. The collected monitoring data can then be exported to a CSV file, or some statistical analysis can be performed on it.

Deprecated

Use the collect property instead.

distinct?: boolean

Controls whether to emit only when the monitored data values change. This is useful for monitoring values like temperature or operation modes, which don't change frequently but need to be displayed continuously. If the monitored data doesn't change, no data will be emitted to the main thread.

messageId?: string

Optional message ID.

topic: string

Specifies the topic on the master to which to subscribe. It should be prefixed with the client ID and context to ensure a unique topic.

Generated using TypeDoc