reset the connection of the Pico

Post your LabVIEW discussions here
Post Reply
Adel_Labview
Newbie
Posts: 1
Joined: Tue Jun 07, 2016 9:57 am

reset the connection of the Pico

Post by Adel_Labview »

Hi everyone,

The oscilloscope I'm using is PicoScope (4424), i use it with Labview 2014 , all work fine :).
The Problem:
when my programm crashed or the Pico ist not correctly closed, in this case i try to make the connection again (ps4000OpenUnit function) so i get the error "Pico not found !"
it work sometimes when i plug-out the USB-cable!
My question:
is there any way or function to reset the connection of the Pico?

Any help would be great,

Thanks
Adel

Hitesh

Re: reset the connection of the Pico

Post by Hitesh »

Hi Adel,

Assuming you only have one PicoScope 4424 connected to a Windows PC, try calling the ps4000CloseUnit() Call Function library node with a handle value of 16384 (you can find a sub-vi to do this in the PicoScope4000.llb file).

You can then return to your example and run it.

Otherwise, you have to disconnect the device and close LabVIEW via the Windows Task Manager.

Hope this helps,

Adel_Labview
Newbie
Posts: 1
Joined: Tue Jun 07, 2016 9:57 am

Re: reset the connection of the Pico

Post by Adel_Labview »

Everything works fine now !!

Thank you
Adel
-->
Hi Hitesh,

closing Pico with handle value of 16384 and open again --> Everything works fine now !!

Thank you
Adel