Test and Measurement Forum

ps4000awrap.dll error

Post your VB and VBA discussions here

ps4000awrap.dll error

Postby e4411a » Wed Mar 22, 2017 3:51 pm

Hi,

I am trying to run the example excel VBA that is distributed with the PicoSDK. I am using the Pico4824.

I get the error ps4000awrap.dll not found. I have also included "Declare Function GetStreamingLatestValues Lib "C:\Windows\SysWOW64\ps4000awrap.dll" (ByVal handle As Integer) As Integer" as well in my code.

Can you please suggest the possible causes for the error?

Rgds
mahesh
e4411a
Newbie
 
Posts: 0
Joined: Wed Mar 22, 2017 3:34 pm

Re: ps4000awrap.dll error

Postby Hitesh » Wed Mar 22, 2017 4:51 pm

Hi Mahesh,

Which version of the PicoSDK did you install - 32-bit or 64-bit?

Are you using a 32-bit or 64-bit version of MS Excel?

You should not need to copy the dlls to the SysWOW64 folder as the location of the dlls is added to the Windows PATH environment variable.

Regards,
Hitesh

Technical Support Engineer
Hitesh
Site Admin
Site Admin
 
Posts: 2429
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: ps4000awrap.dll error

Postby e4411a » Thu Mar 23, 2017 2:21 am

Hi Hitesh,

I was able to resolve the issue. I realized that I was using the 32 bit version. I used the appropriate SDK and was able to get the code running.

Thank you.

rgds
mahesh
e4411a
Newbie
 
Posts: 0
Joined: Wed Mar 22, 2017 3:34 pm

Re: ps4000awrap.dll error

Postby Hitesh » Mon Mar 27, 2017 9:34 am

Hi Mahesh,

Thank you for posting back - good to hear things are working now.

Regards,
Hitesh

Technical Support Engineer
Hitesh
Site Admin
Site Admin
 
Posts: 2429
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