diff usb488.py @ 3:62ffab79227e

Add example.py with pylab plotting example. Tested with the Tek 2024B.
author Daniel O'Connor <darius@dons.net.au>
date Wed, 13 May 2009 17:08:41 +0930
parents adaff1c4fd6b
children 6b360c30eed6
line wrap: on
line diff
--- a/usb488.py	Wed May 13 15:26:42 2009 +0930
+++ b/usb488.py	Wed May 13 17:08:41 2009 +0930
@@ -251,14 +251,4 @@
             result = result[0:-1]
 
         return result
-def main():
-    u = USB488Device()
-    print "Found device"
-
-    print "ID is.."
-    u.write("*IDN?")
-    print u.read()
     
-if __name__ == "__main__":
-    main()
-