Correct runze multiple backbone

This commit is contained in:
Xuwznln
2025-09-14 00:40:29 +08:00
parent 2493fb9f94
commit bdf27a7e82

View File

@@ -170,7 +170,7 @@ class RunzeMultiplePump:
raise RunzeSyringePumpConnectionError("Connection is closing") raise RunzeSyringePumpConnectionError("Connection is closing")
run = "R" if "?" not in command else "" run = "R" if "?" not in command else ""
full_command = f"/{address}{command}{run}\r\n" full_command = f"/{address}{command}{run}\r\n" # \r\n should direct use, not \\r\\n
output = self.send_command(full_command)[3:-3] output = self.send_command(full_command)[3:-3]
return output return output