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:
@ -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()
|
||||
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user