0
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2025-07-14 03:31:50 +02:00

fix: changes e20643

This commit is contained in:
e20643
2023-09-12 08:51:24 +02:00
parent ddaafa6a04
commit 265744076c
2 changed files with 7 additions and 6 deletions

View File

@ -99,7 +99,7 @@ class StreamApp(QWidget):
@staticmethod
def _streamer_cb(msg, *, parent, **_kwargs) -> None:
msgMCS = BECMessage.DeviceMessage.loads(msg.value)
print(msgMCS)
row = msgMCS.content["signals"][parent.sub_device]
metadata = msgMCS.metadata
@ -144,8 +144,8 @@ if __name__ == "__main__":
parser.add_argument(
"--port", type=str, default="localhost:6379", help="Port for RedisConnector"
)
parser.add_argument("--device", type=str, default="mca", help="Device name")
parser.add_argument("--sub_device", type=str, default="mca1", help="Sub-device name")
parser.add_argument("--device", type=str, default="mcs", help="Device name")
parser.add_argument("--sub_device", type=str, default="mca4", help="Sub-device name")
args = parser.parse_args()

View File

@ -9,6 +9,7 @@ plot_motors:
precision: 3
extra_columns:
- sample name: "sample 1"
- Step [x]: 1
- Step [y]: 1
- Exposure time [s]: 1
- step_x [mu]: 25
- step_y [mu]: 25
- exp_time [s]: 1
- start: 1