Skip to content

lcalaresu/Java-SCPI-parser

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java-SCPI-parser

The SCPIParser library provides an easy to use SCPI-style command parser.

Refer to the SCPIParser class documentation for usage and examples.

Example Usage:

class SimpleSCPIParser extends SCPIParser {
  public SimpleSCPIParser() {
    addHandler("*IDN?", this::IDN);
  }

  String IDN(String[] args) {
    return "Simple SCPI Parser";
  }
}
 
SimpleSCPIParser myParser = new SimpleSCPIParser();
  for (String result : myParser.accept("*IDN?")) {
    System.out.println(result);
  }

About

SCPI-style command parser and interpreter for Java

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%