gotmc / asrl

Go-based implementation of an Asynchronous Serial (ASRL) interface for IVI test equipment automation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

asrl

Go-based implementation of an Asynchronous Serial (ASRL) interface for Interchangeable Virtual Instrument (IVI) drivers.

GoDoc Go Report Card License Badge

Overview

The asrl package enables controlling test equipment (e.g., oscilloscopes, function generators, multimeters, etc.) over serial port. While this package can be used by itself to send Standard Commands for Programmable Instruments (SCPI) commands to a piece of test equipment, it also serves to provide an Instrument interface for both the ivi and visa packages. The ivi package provides standardized APIs for programming test instruments following the Interchangeable Virtual Instrument (IVI) standard.

Implementations

Prologix

The prologix package provides a serial interface for the Prologix GPIB-USB Controller using the Virtual COM Port (VCP) driver. To work, you must download the drivers for FT245R chip from FTDI website (www.ftdichip.com).

Installation

$ go get github.com/gotmc/asrl

Documentation

Documentation can be found at either:

Contributing

Contributions are welcome! To contribute please:

  1. Fork the repository
  2. Create a feature branch
  3. Code
  4. Submit a pull request

Testing

Prior to submitting a pull request, please run the tests using either GNU Make:

$ make check
$ make lint

or you can use Just:

$ just check
$ just lint

To update and view the test coverage report using Make run:

$ make cover

or you can use Just:

$ just cover

License

asrl is released under the MIT license. Please see the LICENSE.txt file for more information.

About

Go-based implementation of an Asynchronous Serial (ASRL) interface for IVI test equipment automation

License:MIT License


Languages

Language:Go 87.3%Language:Just 8.5%Language:Makefile 4.2%