PS4000 Excel Macro not finding ps4000wrap.dll

Post your VB and VBA discussions here
Post Reply
Khalid
Newbie
Posts: 0
Joined: Tue May 28, 2013 3:47 am

PS4000 Excel Macro not finding ps4000wrap.dll

Post by Khalid » Tue May 28, 2013 5:47 pm

I am using a PicoScope 4224 and using a 64 bit system runing windows 7. When I click the "Get Data" macro in Excel I get an error message: Run time Error 53 File not found ps4000wrap.dll even though I have all 3 DLLs ('ps4000wrap.dll', 'ps4000.dll' and 'picoIpp.dll) saved in the System 32 directory. Any suggestions?

Hitesh
Site Admin
Site Admin
Posts: 2810
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: PS4000 Excel Macro not finding ps4000wrap.dll

Post by Hitesh » Wed May 29, 2013 11:17 am

Hi Khalid,

Try providing the full path to the wrapper dll in your Declare Function statements.

e.g.

Code: Select all

Declare Function GetStreamingLatestValues Lib "C:\myPicoDlls\ps4000wrap.dll" (ByVal handle As Integer) As Integer
I hope this helps.
Hitesh

Technical Support Engineer

Post Reply