From 62b7ddccee644ef0eeab43bd9641d0da131fe866 Mon Sep 17 00:00:00 2001 From: Carter Turn Date: Sat, 14 Mar 2026 22:57:27 -0400 Subject: [PATCH] Reduce nominal serial speed from 10000000 to 1000000. This doesn't actually affect the transfer speed, which is simply set by USB. For some reason, python termios on Linux seems to throw errors for speeds above 1000000. --- labscript_devices/PrawnDO/blacs_workers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/labscript_devices/PrawnDO/blacs_workers.py b/labscript_devices/PrawnDO/blacs_workers.py index 4b7537c9..daf63998 100644 --- a/labscript_devices/PrawnDO/blacs_workers.py +++ b/labscript_devices/PrawnDO/blacs_workers.py @@ -28,7 +28,7 @@ def __init__(self, com_port, pico_board): global struct; import struct self.timeout = 0.2 - self.conn = serial.Serial(com_port, 10000000, timeout=self.timeout) + self.conn = serial.Serial(com_port, 1000000, timeout=self.timeout) self.pico_board = pico_board version = self.get_version()