Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #2370

Re: PyVISA

From "eryksun ()" <eryksun@gmail.com>
Newsgroups comp.lang.python
Subject Re: PyVISA
Date 2011-04-01 09:34 -0700
Organization http://groups.google.com
Message-ID <57ebc34d-40bf-41c4-a4dc-89f0ec43418d@glegroupsg2000goo.googlegroups.com> (permalink)

Show all headers | View raw


On Friday, April 1, 2011 11:29:10 AM UTC-4, Manatee wrote:
> I have unpacked the PyVISA files into the Python/lib/site-packages dir
> and from the IDLE GUI I get and error
> 
> import visa
> 
> Traceback (most recent call last):
>   File "
> ", line 1, in <module>
>     import visa
> ImportError: No module named visa
>  
> 
> There must be more to just putting the files in the correct directory.
> Need help configuring PyVISA to work.
> My ultimate goal is to control electronic instruments with Python
> through visa.

If you're on Windows, they have a win32 executable installer available on SourceForge. Otherwise you can just easy_install the egg.

http://sourceforge.net/projects/pyvisa/files/PyVISA/1.3/

You'll also need a VISA library (.dll or .so file) for your GPIB adapter.

Back to comp.lang.python | Previous | Next | Find similar


Thread

Re: PyVISA "eryksun ()" <eryksun@gmail.com> - 2011-04-01 09:34 -0700

csiph-web