Documentation for function pingunit

Post general discussions on using our drivers to write your own software here
Post Reply
shb
Newbie
Posts: 0
Joined: Mon Dec 06, 2010 11:11 am

Documentation for function pingunit

Post by shb »

There is a function named ps2000PingUnit in ps2000.h is there any documentation for it?

Thanks for any help
Greetings,
shb

User avatar
markspencer
Site Admin
Site Admin
Posts: 598
Joined: Wed May 07, 2003 9:45 am

Re: Documentation for function pingunit

Post by markspencer »

Hi,

You will need to download the Software Development Kit for the PS5000. This will give you a c console example, there is not a specific C++ example available.

Best regards,
Regards,

Mark Spencer

shb
Newbie
Posts: 0
Joined: Mon Dec 06, 2010 11:11 am

Re: Documentation for function pingunit

Post by shb »

I downloaded the SDK for PS5000 and examined the code. I did not find any call to a function with "ping" in its name. And nothing about it in the documentation.

But this is the answer I got by email.
The prototype is:
PREF1 short PREF2 ps2000PingUnit
( short handle );
The purpose of the function is to determine if the PC can communicate with the device on the USB port.
The handle parameter is the value received when the device is opened.
The return values are PICO_INVALID_HANDLE, if there is no device with the handle number passed to the function.
PICO_OK if communication is fine, and PICO_NOT_RESPONDING if the device is no longer available on the USB port.
Thanks a lot
shb

Post Reply