From 84ec7275a810a475cb777bfae4ea8a3a70f11f54 Mon Sep 17 00:00:00 2001 From: mer0m Date: Thu, 9 Mar 2017 17:52:03 +0100 Subject: [PATCH] add \n --- instruments/Sym5125A.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/instruments/Sym5125A.py b/instruments/Sym5125A.py index a7b07f0..321e3e4 100644 --- a/instruments/Sym5125A.py +++ b/instruments/Sym5125A.py @@ -34,7 +34,8 @@ class Sym5125A(abstract_instrument): pass def getValue(self): - return self.tn.read_until('\n').replace('\r\n','') + mes = self.tn.read_until('\n').replace('\r\n','') + return mes + '\n' def read(self): pass -- 2.16.4