From 82e0b17a4404e0de3686c5dcba688eeec7be200b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Troels=20Kr=C3=B8gh?= Date: Wed, 9 Aug 2017 14:00:14 +0200 Subject: [PATCH] Change write to write_raw when communicating using visa --- instruments/abstract_instruments/comm/visa_communicator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instruments/abstract_instruments/comm/visa_communicator.py b/instruments/abstract_instruments/comm/visa_communicator.py index 391487757..7f407298c 100644 --- a/instruments/abstract_instruments/comm/visa_communicator.py +++ b/instruments/abstract_instruments/comm/visa_communicator.py @@ -149,7 +149,7 @@ def write_raw(self, msg): :param bytes msg: Bytes to be sent to the instrument over the VISA connection. """ - self._conn.write(msg) + self._conn.write_raw(msg) def seek(self, offset): # pylint: disable=unused-argument,no-self-use return NotImplemented