Test and Measurement Forum

Documentation for function pingunit

Post general discussions on using our drivers to write your own software here

Documentation for function pingunit

Postby shb » Mon Dec 06, 2010 11:15 am

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

Thanks for any help
Greetings,
shb
shb
Newbie
 
Posts: 0
Joined: Mon Dec 06, 2010 11:11 am

Re: Documentation for function pingunit

Postby markspencer » Tue Dec 07, 2010 8:39 am

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
User avatar
markspencer
Site Admin
Site Admin
 
Posts: 598
Joined: Wed May 07, 2003 9:45 am

Re: Documentation for function pingunit

Postby shb » Wed Dec 08, 2010 10:04 am

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
shb
Newbie
 
Posts: 0
Joined: Mon Dec 06, 2010 11:11 am


Return to General Software Discussions

Who is online

Users browsing this forum: No registered users and 0 guests