https://github.com/electrostar/picolib
Java Library to use Pico Technology's PicoScopes
https://github.com/electrostar/picolib
java java-library linux picoscope picoscope-oscilloscope windows
Last synced: 4 months ago
JSON representation
Java Library to use Pico Technology's PicoScopes
- Host: GitHub
- URL: https://github.com/electrostar/picolib
- Owner: ElectroStar
- License: lgpl-3.0
- Created: 2019-06-28T18:29:09.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-04T08:57:05.000Z (almost 7 years ago)
- Last Synced: 2025-04-05T20:11:59.434Z (about 1 year ago)
- Topics: java, java-library, linux, picoscope, picoscope-oscilloscope, windows
- Language: Java
- Homepage:
- Size: 147 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
picolib [](https://travis-ci.com/ElectroStar/picolib) [](https://sonarcloud.io/dashboard?id=com.github.electrostar%3Apicolib) [](https://sonarcloud.io/dashboard?id=com.github.electrostar%3Apicolib) [](https://search.maven.org/#search%7Cgav%7C1%7Cg%3A"com.github.electrostar"%20AND%20a%3A"picolib") [](https://www.javadoc.io/doc/com.github.electrostar/picolib)
=========
Java Library to use Pico Technology's PicoScopes
---------------------
`picolib` provides an easy to use interface to interact with a PicoScope.
Links
-----
* [Releases](https://github.com/ElectroStar/picolib/releases)
* [Issue tracking](https://github.com/ElectroStar/picolib/issues)
* [Manufacturer](https://www.picotech.com/products/oscilloscope)
Prerequisites
--------
* IDE for Java like [NetBeans](https://netbeans.org/), [Elcipse](https://www.eclipse.org/), [IntelliJ](https://www.jetbrains.com/idea/) or equivalent IDE
* [Java SE Development Kit 8](https://www.oracle.com/technetwork/java/javase/overview/index.html) or later
* Installed PicoSDK driver from [Pico Technologies Downloads Page](https://www.picotech.com/downloads)
How to use
--------
`picolib` library can be found on `central` repository.
### Gradle
```groovy
dependencies {
implementation 'com.github.electrostar:picolib:0.0.2'
}
```
### Maven
```xml
com.github.electrostar
picolib
0.0.2
```
### Java
```java
ResultSet rs;
try(PicoScope ps = new PicoScope(UnitSeries.PICOSCOPE2000)) {
ps.setChannel(Channel.CHANNEL_A, Coupling.DC, Range.RANGE_10V);
ps.setTrigger(Channel.CHANNEL_A, TriggerDirection.FALLING, 2000f);
ps.setTimebase(CollectionTime.DIV20MS);
rs = ps.runBlock();
}
```
Implemented Features
--------
* ETS Mode
* Run and Streaming Mode
* Trigger
* Signal Generator
Limitations
-------
Currently only the `2000` Series is supported.
Contributing
-------
Contributions are welcome. Please refer to our [guidelines for contributing](CONTRIBUTING.md) for further information.
License
-------
Copyright 2018-2019 ElectroStar.
Licensed under the [GNU Lesser General Public License, Version 3.0](https://www.gnu.org/licenses/lgpl.txt)