Test and Measurement Forum

PS4000 Excel Macro not finding ps4000wrap.dll

Post your VB and VBA discussions here

PS4000 Excel Macro not finding ps4000wrap.dll

Postby 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?
Khalid
Newbie
 
Posts: 0
Joined: Tue May 28, 2013 3:47 am

Re: PS4000 Excel Macro not finding ps4000wrap.dll

Postby 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 Specialist
Pico Technology
Hitesh
Site Admin
Site Admin
 
Posts: 1997
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire


Return to VB and VBA (Excel, Access)

Who is online

Users browsing this forum: No registered users and 0 guests