diff options
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': |