Commit 7204d4f1b72 by Julien Salort

Minor changes

parent 72fa057bf38
......@@ -58,7 +58,7 @@ class StanfordSR830SenseValue(FloatValue):
return self.sense_values[int(value)]
def set(self, value):
super().set(sense_values.index(value))
super().set(self.sense_values.index(value))
class StanfordSR830TCValue(FloatValue):
......
......@@ -107,11 +107,10 @@ class Agilent34970a(IEC60488):
try:
# Checks if channelList is iterable
numChans = len([x for x in channelList])
except:
except Exception:
# If not, convert to 1-tuple
channelList = (channelList,)
numChans = 1
pass
# Max number of points: 50000
if samplesPerChan * numChans > 50000:
......
"""Interfaces with the instruments (:mod:`fluidlab.instruments.interfaces`)
===========================================================================
"""Interfaces with the instruments (:mod:`fluidlab.interfaces`)
===============================================================
Provides some classes:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment