5444D Unable to Open Device

Post your C and C++ discussions here
Post Reply
dliu
Newbie
Posts: 0
Joined: Fri May 31, 2019 3:23 pm

5444D Unable to Open Device

Post by dliu »

Hello,

I'm tinkering with the 5444D for an experiment, but the device is not getting opened by the standard template. I'm connecting it to a Windows 10 machine with a USB 2.0 port and the scope connected to an external power supply. The commercial PicoScope 6 app is working fine, and is able to detect the oscilloscope without any issues, collect data, and do everything it's supposed to do. However, the standard template off of the GitHub (ps5000con.c), when compiled using Microsoft Visual Studio 2019, is not detecting the scope. It is connected to the correct .dll libraries (ps5000a.dll) and compiles with zero errors, but upon execution, returns:

Code: Select all

PS5000 driver example program
Version 1.0

Opening the device...
Handle: -1
Unable to open device
Error code : 3
I do not have the PicoScope 6 software running when I try to use the compiled custom software. Any help would be welcome. Thanks!

David

Martyn
Site Admin
Site Admin
Posts: 4500
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: 5444D Unable to Open Device

Post by Martyn »

You need the ps5000a examples from GitHub, the ps5000 one is for a much older device.
Martyn
Technical Support Manager

Post Reply