Generic PicoScope Classes

Post your Java discussions here
Post Reply
Hitesh

Generic PicoScope Classes

Post by Hitesh »

Hi,

Below are a set of reusable classes that can be used when implementing your own application in Java to communicate with a PicoScope. Some classes can also be used with our PicoLog data logger products.
PicoScope.zip
Set of reusable Java classes
(48.53 KiB) Downloaded 943 times
The project has not been updated for a while and is supplied as is (as a Netbeans project with some Javadoc information) and is subject to the EULA that can be found in the Programmer's Guide for the relevant PicoScope or PicoLog data logger device.

Update: PicoStatus and PicoInfo classes added containing defined constants from the PicoStatus.h header file.

Thanks,
Last edited by Hitesh on Thu Sep 04, 2014 11:48 am, edited 2 times in total.
Reason: New PicoScope.zip file uploaded

shinkwon
Newbie
Posts: 0
Joined: Sat Jul 19, 2014 6:23 am

Re: Generic PicoScope Classes

Post by shinkwon »

Do it work in MAC? or only WIN machine?

Hitesh

Re: Generic PicoScope Classes

Post by Hitesh »

Hi shinkwon,

The classes themselves in the jar file are platform independent. Drivers for OS X are yet to be released although we have a Beta release of PicoScope 6 for Mac available (see http://www.picotech.com/support/topic11055.html#p41383)
Which device are you interested in or using?

Thanks,

shinkwon
Newbie
Posts: 0
Joined: Sat Jul 19, 2014 6:23 am

Re: Generic PicoScope Classes

Post by shinkwon »

Dear Hitesh

I have 6404D and interesting 3000-series for later using.

I've checked the source of classes and docs but not run them yet.

Could you release some sample code (like simple block mode) for our starting point?

Many thanks,

shinkwon
Newbie
Posts: 0
Joined: Sat Jul 19, 2014 6:23 am

Re: Generic PicoScope Classes

Post by shinkwon »

Dear Hitesh

I can't find "openUnit" and "closeUnit", "close" method.

Where can I find them?

Many thanks,

Hitesh

Re: Generic PicoScope Classes

Post by Hitesh »

Hi,

You will need to create your own C wrapper dll as per the PicoScope 2000 and PicoScope 3000a examples in order to call the open and close functions using Java Native Interface for the PicoScope 6000 series.

Alternatively, you can use Java Native Access as some other Customers have done:

https://jna.java.net/

https://github.com/twall/jna

Please note that Pico Technology is not responsible for the content of third party sites.

Regards,

Post Reply