A data acquisition Java library for the Protek 608 digital multimeter
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.



A data aquisition Java library for the Protek 608 digital multimeter. Visit the project homepage for more information about the Protek 608 digital multimeter, development blogs, and how this software has been used in the field.

Current Release

Planned Releases

  • Release v1.1.0 - Enhanced data aquisition and statistics.


Detailed documentation on this library and implementation is coming soon. In the meantime, you can find more information on the project home page.

Quick Start

Main class

Your main class may look something like this:

import com.dariancabot.protek608.Protek608;

public class MyNewApp
  public static void main(String[] args)
    // Create a new Protek608 instance and set the Event Listener for receiveing data.
    Protek608 protek608 = new Protek608();
    Events events = new Events();
    // Connect to the "COM3" serial port, and start receiving data.

Event Listener class

Your event listener class (to handle data) may look like this:

import com.dariancabot.protek608.EventListener;

public class Events implements EventListener
  public void dataUpdateEvent()
    Double measurement = MyNewApp.protek608.data.mainValue.getValueDouble();
    String unit = MyNewApp.protek608.data.mainValue.unit.toString();
    System.out.println("Measurement = " + measurement + " " + unit);

Data statistics

You can also access statistical data like this:

// Enable statistics for the main DMM value.

// Now as data is received, it's included in the statistic calculations.
// ... time passes, measurements are read ...

// Let's get the average value.

// The user changed to a different measurement type so let's reset the stats.

Development Environment

  • This project was created with the NetBeans 8.0 IDE (some specific project files are found in the repository).
  • Developed using JDK 1.7.
  • jSSC 2.6.0 is used for serial communications.
  • JUnit 4.10 and Hamcrest 1.3 are used for unit testing.