diff options
| author | Anthony LaTorre <telatorre@gmail.com> | 2011-08-17 14:40:25 -0400 |
|---|---|---|
| committer | Anthony LaTorre <telatorre@gmail.com> | 2011-08-17 14:40:25 -0400 |
| commit | f8a87ff1069d7fab7031804da2d66773be8695a6 (patch) | |
| tree | bc9807263b3f57f48c1fb2ce28c4bb0920e8a423 /config.py | |
| parent | 9cb86aba279caf86769448df877a727f54ebb786 (diff) | |
| download | lecrunch-f8a87ff1069d7fab7031804da2d66773be8695a6.tar.gz lecrunch-f8a87ff1069d7fab7031804da2d66773be8695a6.tar.bz2 lecrunch-f8a87ff1069d7fab7031804da2d66773be8695a6.zip | |
documentation update and open hdf5 files in read only mode in draw.py
Diffstat (limited to 'config.py')
| -rwxr-xr-x | config.py | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -15,8 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. """ -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': |
