/daqdata

Go library for reading/writing binary data and a header file for DAQ data.

Primary LanguageGoMIT LicenseMIT

daqdata

GoDoc License Badge

Go library to read/write binary data and header information from a DAQ, such as the USB-1608FS-Plus. The binary data is stored in its raw format in one or more binary files. The header file contains information about the binary data such as calibration data, number of channels, etc.

Installation

$ go get github.com/gotmc/daqdata

Dependencies

At this time there are no dependencies beyond the Go standard library.

Documentation

Documentation can be found at either:

Contributing

[daqdata][] is developed using Scott Chacon's GitHub Flow. To contribute, fork [daqdata][], create a feature branch, and then submit a pull request. GitHub Flow is summarized as:

  • Anything in the master branch is deployable
  • To work on something new, create a descriptively named branch off of master (e.g., new-oauth2-scopes)
  • Commit to that branch locally and regularly push your work to the same named branch on the server
  • When you need feedback or help, or you think the branch is ready for merging, open a pull request.
  • After someone else has reviewed and signed off on the feature, you can merge it into master.
  • Once it is merged and pushed to master, you can and should deploy immediately.

Testing

Prior to submitting a pull request, please run:

$ gofmt
$ golint
$ go vet
$ go test

To update and view the test coverage report:

$ go test -coverprofile coverage.out
$ go tool cover -html coverage.out

License

[daqdata][] is released under the MIT license. Please see the LICENSE.txt file for more information.