Hi all,

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.

from visa import *

and the response I received is below.

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 *
  File "C:\Python25\Lib\site-packages\pyvisa\visa.py", line 231, in <module>
    resource_manager = ResourceManager()
  File "C:\Python25\Lib\site-packages\pyvisa\vpp43.py", line 105, in __new__
    it.init(*args, **kwds)
  File "C:\Python25\Lib\site-packages\pyvisa\visa.py", line 227, in init
    self.session = self.vi = vpp43.open_default_resource_manager()
  File "C:\Python25\Lib\site-packages\pyvisa\vpp43.py", line 758, in 
open_default_resource_manager
    visa_library().viOpenDefaultRM(byref(session))
  File "C:\Python25\Lib\site-packages\pyvisa\vpp43.py", line 175, in __call__
    self.load_library()
  File "C:\Python25\Lib\site-packages\pyvisa\vpp43.py", line 141, in 
load_library
    self.__lib       = windll.visa32
  File "C:\Python25\lib\ctypes\__init__.py", line 423, in __getattr__
    dll = self._dlltype(name)
  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


I wasted to much time to reach the answer of this problem over the google, you 
know. So, what is the problem? What do you suggest me?

Thanks a lot from now on.

Best Regards.
H.Sinan Aksimsek


__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen 
Massenmails. 
http://mail.yahoo.com 
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to