PyVISA

eryksun () eryksun at gmail.com
Fri Apr 1 12:34:58 EDT 2011


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.



More information about the Python-list mailing list