Go-based implementation of an Asynchronous Serial (ASRL) interface for Interchangeable Virtual Instrument (IVI) drivers.
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.
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).
$ go get github.com/gotmc/asrl
Documentation can be found at either:
- https://godoc.org/github.com/gotmc/asrl
- http://localhost:6060/pkg/github.com/gotmc/asrl/ after running
$ godoc -http=:6060
Contributions are welcome! To contribute please:
- Fork the repository
- Create a feature branch
- Code
- Submit a pull request
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
asrl is released under the MIT license. Please see the LICENSE.txt file for more information.