From 09be04814cf12110c7eb292dd8f72f493f020ab4 Mon Sep 17 00:00:00 2001 From: David Lutton Date: Sun, 12 May 2024 00:07:43 +0100 Subject: [PATCH] Name R&S NVRS is actually NRVS --- src/labtoolkit/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/labtoolkit/__init__.py b/src/labtoolkit/__init__.py index 4170426..03f8967 100644 --- a/src/labtoolkit/__init__.py +++ b/src/labtoolkit/__init__.py @@ -261,7 +261,7 @@ def enumerate_resources(self): def IDN_fallback(self, inst, resource, mapping, number): - funcs = self.IDN_for_NVRS, self.IDN_for_HP, self.IDN_for_HP8903 + funcs = self.IDN_for_NRVS, self.IDN_for_HP, self.IDN_for_HP8903 # https://stackoverflow.com/a/19523054 handling for loops that could except @@ -272,7 +272,7 @@ def IDN_fallback(self, inst, resource, mapping, number): except pyvisa.VisaIOError as error: pass - def IDN_for_NVRS(self, inst, resource, mapping, number): + def IDN_for_NRVS(self, inst, resource, mapping, number): # sleep(.25) # inst.write_termination = None sleep(0.05)