diff --git a/bapsf_motion/actors/motor_.py b/bapsf_motion/actors/motor_.py index 47080d56..f66337f8 100644 --- a/bapsf_motion/actors/motor_.py +++ b/bapsf_motion/actors/motor_.py @@ -1009,7 +1009,11 @@ def config(self) -> Dict[str, Any]: speed = self.motor["speed"] if isinstance(speed, u.Quantity): speed = speed.value - speed = float(speed) + try: + speed = float(speed) + except TypeError: + # Motor is likely connected and the stored value is an AckFlags + speed = 0.0 return { "name": self.name,