Error 268440457 in ps5000OpenUnit

Post your LabVIEW discussions here
Post Reply
teegee
Newbie
Posts: 0
Joined: Wed Feb 24, 2021 5:53 am

Error 268440457 in ps5000OpenUnit

Post by teegee »

Hi,

I've got a picoscope 5444D with the PicoSDK_64_10.7.20.192 installed and the latest sdk examples from github.
When running Picoscope5000ExampleBlock.vi I'm getting an error 268440457 in ps5000OpenUnit. What am I doing wrong?

I'm running LabVIEW2018 64bit on Windows 10.

I've also installed PicoScope6_r6_14_36 and I can get data from the instrument.

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

Re: Error 268440457 in ps5000OpenUnit

Post by Martyn »

For the 5444D you need to be running the ps5000a examples, https://github.com/picotech/picosdk-ni- ... er/ps5000a , the ones you have are for very old discontinued models.
Martyn
Technical Support Manager

teegee
Newbie
Posts: 0
Joined: Wed Feb 24, 2021 5:53 am

Re: Error 268440457 in ps5000OpenUnit

Post by teegee »

Thanks Martyn.
I've switched to the 5000a examples. Now I'm getting error 268435457 when I try to open the device without using a serial number. Where do I get the serial number from?

Cheers

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

Re: Error 268440457 in ps5000OpenUnit

Post by Martyn »

The serial number is located below the barcode on the underside of the unit and will look something like AB123/4567
Martyn
Technical Support Manager

teegee
Newbie
Posts: 0
Joined: Wed Feb 24, 2021 5:53 am

Re: Error 268440457 in ps5000OpenUnit

Post by teegee »

Still no luck even when I pass in the serial number.
The dll returns pico status 268435457
and LabVIEW pops up this error:
Error API function call ps5000aCurrentPowerSource
PICO_INVALID_HANDLE : There is no device with the handle value passed
Error code 12 Decimal 0000000C Hex

teegee
Newbie
Posts: 0
Joined: Wed Feb 24, 2021 5:53 am

Re: Error 268440457 in ps5000OpenUnit

Post by teegee »

Never mind.
Reinstall of the SDK and complete reboot fixed it. Sorry for all the messages :(

teegee
Newbie
Posts: 0
Joined: Wed Feb 24, 2021 5:53 am

Re: Error 268440457 in ps5000OpenUnit

Post by teegee »

Hi Martyn,
I'm trying to package up all dlls required to run my picoscope 5444d so I can deploy an application without the need to install the SDK.
So far I've got ps5000a.dll and ps5000aWrap.dll but I'm getting error 268435457 at OpenUnit. I tried adding some of the other dlls from the SDK/lib folder without success. What am I missing?

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

Re: Error 268440457 in ps5000OpenUnit

Post by Martyn »

You will also need picoipp.dll from the lib folder, and the contents of the system folder.

The system folder contains the low level USB kernel drivers, and the Microsoft driver package executable dpinst.exe
Martyn
Technical Support Manager

teegee
Newbie
Posts: 0
Joined: Wed Feb 24, 2021 5:53 am

Re: Error 268440457 in ps5000OpenUnit

Post by teegee »

So it's not enough to just include the dlls, I'll also need to run dpinst.exe?

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

Re: Error 268440457 in ps5000OpenUnit

Post by Martyn »

If you are installing and using the device on a Windows 10 system then the kernel drivers can be loaded from Windows Update automatically in response to plugging it in.

For our SDK and the PicoScope applications we use the Microsoft dpinst pre installer just to be sure they are available.
Martyn
Technical Support Manager

MarBrunero
Newbie
Posts: 0
Joined: Tue Jan 29, 2019 3:26 pm

Re: Error 268440457 in ps5000OpenUnit

Post by MarBrunero »

teegee wrote:
Fri Apr 30, 2021 12:26 am
Hi Martyn,
I'm trying to package up all dlls required to run my picoscope 5444d so I can deploy an application without the need to install the SDK.
So far I've got ps5000a.dll and ps5000aWrap.dll but I'm getting error 268435457 at OpenUnit. I tried adding some of the other dlls from the SDK/lib folder without success. What am I missing?
Hi, can you please tell me if (and how) you will manage to package everything needed in a single labview application?
Thank you,
Marco.

sabine sardi
Newbie
Posts: 1
Joined: Mon Jan 30, 2023 10:47 am

Re: Error 268440457 in ps5000OpenUnit

Post by sabine sardi »

Bonjour ,
j'essaye d'executer PicoScope5000ExempleBlock.vi sur un PicoScope5443D , j'ai joins les dll nécessaires à mon projet ainsi que les sous vi cependants, cependant ça me renvoie une erreur "5003 occured at ps5000OpenUnit" , raison possible : PICO_NOT_FOUND
No Pico Technology device could be found

Est ce que quelqu'un aurait une idée d'ou vient cette erreur , je precise que j'ai pas d'erreur sur le code.

Je vous remercie d'avance :)

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

Re: Error 268440457 in ps5000OpenUnit

Post by Martyn »

The PicoScope 5443D requires the use of the ps5000aExamples https://github.com/picotech/picosdk-ni- ... er/ps5000a , you are using the older ps5000Examples which is why you are getting the error.
Martyn
Technical Support Manager

Post Reply