diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2021-12-14 09:42:08 -0500 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2021-12-14 09:42:08 -0500 |
commit | 24ddac1f76d5a2384cba751f65228a31f93ea2a1 (patch) | |
tree | 7ae68a669ea66c2ffc77e1275582efd4b7f87918 /qolab/hardware | |
parent | 8f5f57c0832893b3536a918e3447bd71bf42b1fd (diff) | |
download | pyExpControl-24ddac1f76d5a2384cba751f65228a31f93ea2a1.tar.gz pyExpControl-24ddac1f76d5a2384cba751f65228a31f93ea2a1.zip |
scope uses self.getNextDataFile
Diffstat (limited to 'qolab/hardware')
-rw-r--r-- | qolab/hardware/scope/__init__.py | 2 |
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) |