Again, I find that I’m stumped trying to concisely attach a subject to
my query… Sorry about that :-S
Also, I apologize if the query is a bit off-topic, but I hope that it is
Anyway, the recent thread about the “Ruby CronJob” got me thinking. We
have an application that requires to read data from a device connected
to the serial port of a Windows machine. The data collected from the
device needs to be validated and dumped into a database with most of the
remaining visualization being done over the web for which I plan to use
The program that reads from the serial port also needs to access the
database to find information from other tables to build the
relationships between the data it captures and the “owner” of the data.
Other than connecting to the serial port of the Windows machine, the
whole project seems like a good idea for Rails.
The best way that I can summarise this in 2 questions is as follows:
- Any suggestions on what may be a good way to do the local Windows
program using Ruby/ Rails so that I can benefit from the Rails framework
for accessing and managing the database?
- On the Windows application side, is it easy (I know it’s possible) to
use Ruby with C/C++ programs that can access and fetch the data from the
Has anyone done something like this and would care to share some of the
experience/ thought process? Thanks!