ps3000a.dll with python

Post general discussions on using our drivers to write your own software here
Post Reply
endeavour
Newbie
Posts: 0
Joined: Thu Jul 03, 2014 8:26 am

ps3000a.dll with python

Post by endeavour »

Hi,

I have been using a picoscope 2203 and the ps2000.dll with python and this works well but I have recently purchased a picoscope 3205a and the ps3000a.dll will not open in python. I have both dll's in the same folder and in python get this:

>>> import ctypes as c
>>> p = c.windll.LoadLibrary("ps2000.dll")
>>> p3 = c.windll.LoadLibrary("ps3000a.dll")
Traceback (most recent call last):
File "", line 1, in
p3 = c.windll.LoadLibrary("ps3000a.dll")
File "C:\Python32\lib\ctypes\__init__.py", line 431, in LoadLibrary
return self._dlltype(name)
File "C:\Python32\lib\ctypes\__init__.py", line 353, in __init__
self._handle = _dlopen(self._name, mode)
WindowsError: [Error 127] The specified procedure could not be found

Any help would be very much appreciated.

endeavour
Newbie
Posts: 0
Joined: Thu Jul 03, 2014 8:26 am

Re: ps3000a.dll with python

Post by endeavour »

I have an update on this, i reverted to the ps3000a.dll on the CD provided with the scope and all works fine, this dll is part of SDK:

PS3000Asdk_r10_5_0_11

Whereas the dll that would not load was one that I downloaded as the newest version and part of SDK:

PS3000asdk_r10_5_0_32

Regard

endeavour
Newbie
Posts: 0
Joined: Thu Jul 03, 2014 8:26 am

Re: ps3000a.dll with python

Post by endeavour »

Further update!

It looks like the dependencies required for the most up to data dll are in the most up to date Picoscope 6,so this issue is mute. In summary I was using an older version of Picoscope 6 with a newer version of the ps3000a.dll and this caused a problem with the dependencies, this was solved by using the most up to date versions of each.

Regards

Post Reply