VisionMate
VisionMate provides a Ruby interface to the Thermo Scientific VisionMate 2D barcode scanner used to bulk scan multiple test tubes set in a rack. The library provides a wrapper around the Telnet interface used by the VisionMate scanner.
Installation
Add it to the project's Gemfile with:
gem 'vision_mate'
Run the bundle
command to install it.
Usage
Configure the connection in an initializer file. e.g.
config/initializers/vision_mate.rb
VisionMate.configure do |config|
config.host = '192.168.1.1'
config.port = '8000'
end
Initialize a connection and perform a scan.
scanner = VisionMate.connect
scanner.scan # => (results)
Contributing
- Fork this repository ( http://github.com/SciMed/vision_mate/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Copyright
Copyright (c) 2014 SciMed Solutions Inc. Licensed under the MIT license. See LICENSE for details.