Test and Measurement Forum

unit not found

Forum for discussing PicoScope version 6 (non-automotive version)

unit not found

Postby TimminsG » Mon Sep 12, 2016 11:38 am

Hello,

I have a Picoscope 5000 scope and Picoscope 6 software.

I am using the excel demo application provided with the CD as a quick start to communicate with my pico with external application.
My picoscope is powered on and I have started the picoscope 6 software.
I have placed the dll at the correct place as recommended on the excel sheet.

However when I run the application by clicking on "Get Block", the instruction "ps5000OpenUnit" returns "0" which means according to instruction manual "unit not found".
Is there something particular to be done so that the unit is found?


Thanks for your help
Guillaume
TimminsG
Newbie
 
Posts: 0
Joined: Mon Sep 12, 2016 11:20 am

Re: unit not found

Postby Martyn » Mon Sep 12, 2016 12:13 pm

Which PicoScope model do you have ?
Martyn
Technical Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2350
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: unit not found

Postby TimminsG » Tue Sep 13, 2016 7:02 am

I have a PicoScope 5242B
TimminsG
Newbie
 
Posts: 0
Joined: Mon Sep 12, 2016 11:20 am

Re: unit not found

Postby Martyn » Tue Sep 13, 2016 9:37 am

You are using the wrong examples and drivers, you need to use the 5000a ones, not the 5000 ones which are for the older discontinued devices.
Martyn
Technical Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2350
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: unit not found

Postby TimminsG » Tue Sep 13, 2016 11:28 am

Thanks for this info.

Unfortunately, my CD does not contain any examples in the ps5000A folder (I have only the dll)
I also tried to download them from this site but I was not able to find them.

I will try to set up something using programmer's guide but it will be easier if I can get some examples.
TimminsG
Newbie
 
Posts: 0
Joined: Mon Sep 12, 2016 11:20 am

Re: unit not found

Postby Martyn » Tue Sep 13, 2016 12:18 pm

Examples attached, select the one to match your excel version. You need to have installed the SDK, and may need to point the code at the driver location.

If you require code for another language let me know.
Attachments
ps5000a_x64.xlsm
64 bit excel example
(93.18 KiB) Downloaded 10 times
ps5000a.xlsm
32 Bit Excel example
(98.21 KiB) Downloaded 10 times
Martyn
Technical Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2350
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: unit not found

Postby TimminsG » Wed Sep 14, 2016 7:05 am

Many thanks, in the meantime I found and installed the SDK with the examples for excel and other languages, I may try several languages to find which suits me the best.
TimminsG
Newbie
 
Posts: 0
Joined: Mon Sep 12, 2016 11:20 am


Return to PicoScope 6 for Windows

Who is online

Users browsing this forum: No registered users and 0 guests