Test and Measurement Forum

Generic PicoScope Classes

Post your Java discussions here

Generic PicoScope Classes

Postby Hitesh » Wed Oct 16, 2013 10:46 am

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 196 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
Hitesh

Technical Specialist
Pico Technology
Hitesh
Site Admin
Site Admin
 
Posts: 2058
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: Generic PicoScope Classes

Postby shinkwon » Sat Jul 19, 2014 7:09 am

Do it work in MAC? or only WIN machine?
shinkwon
Newbie
 
Posts: 0
Joined: Sat Jul 19, 2014 6:23 am

Re: Generic PicoScope Classes

Postby Hitesh » Mon Jul 21, 2014 10:26 am

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,
Hitesh

Technical Specialist
Pico Technology
Hitesh
Site Admin
Site Admin
 
Posts: 2058
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: Generic PicoScope Classes

Postby shinkwon » Sun Jul 27, 2014 5:03 am

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

Postby shinkwon » Sun Jul 27, 2014 9:15 am

Dear Hitesh

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

Where can I find them?

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

Re: Generic PicoScope Classes

Postby Hitesh » Mon Jul 28, 2014 8:33 am

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,
Hitesh

Technical Specialist
Pico Technology
Hitesh
Site Admin
Site Admin
 
Posts: 2058
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire


Return to Java

Who is online

Users browsing this forum: No registered users and 0 guests