bluesky_queueserver_api.console_monitor.ConsoleMonitor_ZMQ_Threads.enable

ConsoleMonitor_ZMQ_Threads.enable()

Enable monitoring of the console output. Received messages are accumulated in the buffer and need to be continuosly read using next_msg() to prevent buffer from overflowing. If the API is called when background thread or task is not running, the buffer is cleared and all old messages are discarded. Note, that disabling and then enabling the monitor in rapid sequence is unlikely to clear the buffer, because the background thread or task may still be running. Use clear() API to remove messages from the buffer.

Examples

Synchronous and asyncronous API:

RM.console_monitor.enable()
RM.console_monitor.disable()