[python-win32] Pyvisa_GPIB problem
Tim Roberts
timr at probo.com
Wed Mar 3 02:49:41 CET 2010
H. Sinan Aksimsek wrote:
>
> I want to control the HP 438A with python, get power information and
> plot it over time. This is my first python project and I need just to
> control power meter and get information as I said before. There is no
> time to learn step by step the python.
>
> I installed the phton 2.6, PyVISA-1.3.win32 and the software of the
> GPIB-USB controller. I started the program and wrote this script.
Is that a typo, or did you actually install the Python 2.6 version of
PyVISA? Because:..
> Traceback (most recent call last):
> File "<pyshell#1>", line 1, in <module>
> from visa import *
> File "C:\Python25\lib\site-packages\visa.py", line 1, in <module>
> from pyvisa.visa import *
...you are running Python 2.5. You need the Python 2.5 version of PyVISA.
> File "C:\Python25\lib\ctypes\__init__.py", line 348, in __init__
> self._handle = _dlopen(self._name, mode)
> WindowsError: [Error 126] Das angegebene Modul wurde nicht gefunden
Error 126 indicates that a DLL was not found. If their DLL links to the
Python26.dll runtime, that would cause the problem.
--
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
More information about the python-win32
mailing list