# HG changeset patch # User Daniel O'Connor # Date 1314256594 -34200 # Node ID 438a5f1ddcd7b4f0e110374ac40b3aff6282ed16 # Parent 6fe43d62c73bf05cb6491e614ff4f8624fff0029 Fix example usage of scpi decoder. diff -r 6fe43d62c73b -r 438a5f1ddcd7 rs_fsp7_example.py --- a/rs_fsp7_example.py Thu Aug 11 21:20:13 2011 +0930 +++ b/rs_fsp7_example.py Thu Aug 25 16:46:34 2011 +0930 @@ -79,8 +79,8 @@ r.write("TRAC1? TRACE1") data = r.read(10) #print "Data - " + dat - #ary = ascdecode(data) - ary = bindecode(data) + #ary = scpi.ascdecode(data) + ary = scpi.bindecode(data) # Plot data pylab.plot(ary)