Mercurial > ~darius > hgwebdir.cgi > pyinst
diff rs_fsp7_example.py @ 25:438a5f1ddcd7
Fix example usage of scpi decoder.
author | Daniel O'Connor <darius@dons.net.au> |
---|---|
date | Thu, 25 Aug 2011 16:46:34 +0930 |
parents | 9bb8a9f3df6b |
children | 91b476ebc0f2 |
line wrap: on
line diff
--- 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)