From f8a87ff1069d7fab7031804da2d66773be8695a6 Mon Sep 17 00:00:00 2001 From: Anthony LaTorre Date: Wed, 17 Aug 2011 14:40:25 -0400 Subject: documentation update and open hdf5 files in read only mode in draw.py --- config.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'config.py') diff --git a/config.py b/config.py index 2af80da..c017316 100755 --- a/config.py +++ b/config.py @@ -15,8 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . """ -Save/load settings from a LeCroy DSO oscilloscope. Settings are saved as a -python dictionary in two ways: pickled to a stand-alone file, or attached as +Save/load settings from a LeCroy X-stream oscilloscope. Settings are saved as +a python dictionary in two ways: pickled to a stand-alone file, or attached as attributes to a hdf5 file. Settings can be loaded from either source. Examples: @@ -76,10 +76,10 @@ if __name__ == '__main__': if len(args) < 2: sys.exit(parser.format_help()) - from scope import Scope + import setup + from sock import Socket - scope = Scope('scope01.hep.upenn.edu') - scope.connect() + scope = Socket(setup.scope_ip, timeout=20.0) scope.clear() if args[0] == 'save': -- cgit