Blog about development of embedded software for devices, the process of making it and the tools involved.
Showing posts with label Ruby. Show all posts
Showing posts with label Ruby. Show all posts
2010-12-11
2010-09-20
ruby rmodbus serialport
I like to use ruby for make test. On some project I must use a serial modbus for testing. For that rmodbus is a fine lib. However the installation of it on windows can be a little tricky because the serialport lib has to be compiled. Here is how it done.
Install ruby with the one click installer:
http://rubyinstaller.org/
Then install the DevKit for ruby
http://rubyinstaller.org/add-ons/devkit/
http://github.com/oneclick/rubyinstaller/wiki/Development-Kit
The rmodbus lib is located the
http://rmodbus.heroku.com/
http://github.com/flipback/RModBus
Installation is however quite simple:
gem install rmodbus
Install ruby with the one click installer:
http://rubyinstaller.org/
Then install the DevKit for ruby
http://rubyinstaller.org/add-ons/devkit/
http://github.com/oneclick/rubyinstaller/wiki/Development-Kit
run these commands in the directory in which DevKit has been extracted:ruby dk.rb initruby dk.rb install
The rmodbus lib is located the
http://rmodbus.heroku.com/
http://github.com/flipback/RModBus
Installation is however quite simple:
gem install rmodbus
Subscribe to:
Posts (Atom)