picolib
provides an easy to use interface to interact with a PicoScope.
- IDE for Java like NetBeans, Elcipse, IntelliJ or equivalent IDE
- Java SE Development Kit 8 or later
- Installed PicoSDK driver from Pico Technologies Downloads Page
picolib
library can be found on central
repository.
dependencies {
implementation 'com.github.electrostar:picolib:0.0.2'
}
<dependency>
<groupId>com.github.electrostar</groupId>
<artifactId>picolib</artifactId>
<version>0.0.2</version>
</dependency>
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();
}
- ETS Mode
- Run and Streaming Mode
- Trigger
- Signal Generator
Currently only the 2000
Series is supported.
Contributions are welcome. Please refer to our guidelines for contributing for further information.
Copyright 2018-2019 ElectroStar.
Licensed under the GNU Lesser General Public License, Version 3.0