aboutsummaryrefslogtreecommitdiff
path: root/qolab/hardware/scope
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2021-12-14 09:42:08 -0500
committerEugeniy E. Mikhailov <evgmik@gmail.com>2021-12-14 09:42:08 -0500
commit24ddac1f76d5a2384cba751f65228a31f93ea2a1 (patch)
tree7ae68a669ea66c2ffc77e1275582efd4b7f87918 /qolab/hardware/scope
parent8f5f57c0832893b3536a918e3447bd71bf42b1fd (diff)
downloadqolab-24ddac1f76d5a2384cba751f65228a31f93ea2a1.tar.gz
qolab-24ddac1f76d5a2384cba751f65228a31f93ea2a1.zip
scope uses self.getNextDataFile
Diffstat (limited to 'qolab/hardware/scope')
-rw-r--r--qolab/hardware/scope/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/qolab/hardware/scope/__init__.py b/qolab/hardware/scope/__init__.py
index ae311d1..bced5a6 100644
--- a/qolab/hardware/scope/__init__.py
+++ b/qolab/hardware/scope/__init__.py
@@ -66,7 +66,7 @@ class Scope(BasicInstrument):
def save(self, fname=None, item_format='e', availableNpnts=None, maxRequiredPoints=None, decimate=True, extention='dat'):
allTraces = self.getAllTraces(availableNpnts=availableNpnts, maxRequiredPoints=maxRequiredPoints, decimate=decimate)
if fname is None:
- fname = get_next_data_file(self.config['FnamePrefix'], self.config['SavePath'], extention=extention)
+ fname = self.getNextDataFile(extention=extention)
allTraces.save(fname, item_format=item_format)
return(fname)