Skip to content

Commit

Permalink
Name R&S NVRS is actually NRVS
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidLutton authored May 11, 2024
1 parent 47bd5eb commit 09be048
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/labtoolkit/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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)
Expand Down

0 comments on commit 09be048

Please sign in to comment.