Hello Martyn and Hitesh,
Thanks for the sample code. I got both the C# and VB.Net examples working.
I did have to assign the "index" variable in the VB.Net example that is used
for the streamwriter output.
Neither of these examples use the ps5000aWrap.dll.
The Excel example does use ps5000aWrap.dll and I have not been able to make it work.
It always fails when it first tries to use the ps5000aWrap.dll file.
Run-time error "48":
File not found: ps5000aWrap.dll
I copied PicoIpp.dll, ps5000a.dll to both the System32 and SysWOW64 directories.
I copied ps5000aWrap.dll 32 bit version (10k size) to the System32 directory and
ps5000aWrap.dll 64 bit version (11k size) to the SysWOW64 directory and it makes no
I am running Win 7 Pro 64 bit with SP1 and Microsoft Office for Home and Business 2010.
As a note, I have been through all of this for the 4000 series scopes and I can make
the Excel example for it work here as well as my custom code utilizing the ps4000wrap.dll.
I realize it is a completely separate example but it did need the same kind of manipulation.
I will explore using the delegate method with my code since it seems to be a more
integrated method but I thought you might want the feedback.
If you have any insight into why the ps5000aWrap.dll file can not be found please let me know.
Thanks for all the help,