0
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2025-07-14 11:41:49 +02:00
Files
bec_widgets/docs/user/widgets/bec_status_box.md
2024-06-21 14:44:50 +02:00

1.1 KiB

(user.widgets.bec_status_box)=

BEC Status Box

Purpose:

The BECStatusBox is a widget that allows you to monitor the status/health of the all running BEC processes. The widget generates the view automatically and updates the status of the processes in real-time. The top level indicates the overall state of the BEC core services (DeviceServer, ScanServer, SciHub, ScanBundler and FileWriter), but you can also see the status of each individual process by opening the collapsed view. In the collapsed view, you can double click on each process to get a popup window with live updates of the metrics for each process in real-time.

Key Features:

  • monitor the state of individual BEC services.
  • automatically track BEC services, i.e. additional clients connecting.
  • live-updates of the metrics for each process.

Example of Use: BECStatus

Code example:

The following code snipped demonstrates how to create a BECStatusBox widget using BEC Widgets within BEC.

bec_status_box = gui.add_dock().add_widget("BECStatusBox")