changeset 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 6fe43d62c73b
children 226ea06bc050
files rs_fsp7_example.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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)