diff --git a/artiq/devices/thorlabs_tcube/driver.py b/artiq/devices/thorlabs_tcube/driver.py index a9c9d47fc..8b0212c78 100644 --- a/artiq/devices/thorlabs_tcube/driver.py +++ b/artiq/devices/thorlabs_tcube/driver.py @@ -142,6 +142,12 @@ class Message: self.src = src self.data = data + def __str__(self): + return ("".format( + self.id, self.param1, self.param2, + self.dest, self.src)) + @staticmethod def unpack(data): id, param1, param2, dest, src = st.unpack("