Skip to content

ElectroStar/picolib

Repository files navigation

picolib Build Status Quality Gate Status Coverage Maven Central Javadocs

Java Library to use Pico Technology's PicoScopes

picolib provides an easy to use interface to interact with a PicoScope.

Links

Prerequisites

How to use

picolib library can be found on central repository.

Gradle

dependencies {
    implementation 'com.github.electrostar:picolib:0.0.2'
}

Maven

<dependency>
  <groupId>com.github.electrostar</groupId>
  <artifactId>picolib</artifactId>
  <version>0.0.2</version>
</dependency>

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 for further information.

License

Copyright 2018-2019 ElectroStar.

Licensed under the GNU Lesser General Public License, Version 3.0