is it possible in Ruby to interface with a device through a RS232 serial connection? I want to connect my Windows XP computer with a medical device through RS232 - get data from the device and send it messages. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
A Google search for ruby "serial port" turns up several hits that look worthwhile. There are even a couple that are Windows-specific. Regards, Craig --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
i have got a library named Win32Serial Extension Library for Ruby but i dont know the steps to use it..! if any one knows plzz explain me in detail Craig Demyanovich wrote:> A Google search for > > ruby "serial port" > > turns up several hits that look worthwhile. There are even a couple that > are > Windows-specific. > > Regards, > Craig-- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Mine is a web application. My server is in linux any way to get it worked for linux.. Shanmu Varatharajank wrote:> i have got a library named Win32Serial Extension Library for Ruby > but i dont know the steps to use it..! > if any one knows plzz explain me in detail > > Craig Demyanovich wrote: >> A Google search for >> >> ruby "serial port" >> >> turns up several hits that look worthwhile. There are even a couple that >> are >> Windows-specific. >> >> Regards, >> Craig-- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Depending on what other libraries you use it might be easier to call out to some native C libraries to perform the RS232 work. It''s not like performance is going to be much of an issue with RS232. You''ll spend well over 90% of your time waiting for data to flow into the port. Not sure if that''s a workable solution, just a thought. Shanmu Varatharajank wrote:> Mine is a web application. My server is in linux > any way to get it worked for linux.. > > Shanmu Varatharajank wrote: >> i have got a library named Win32Serial Extension Library for Ruby >> but i dont know the steps to use it..! >> if any one knows plzz explain me in detail >> >> Craig Demyanovich wrote: >>> A Google search for >>> >>> ruby "serial port" >>> >>> turns up several hits that look worthwhile. There are even a couple that >>> are >>> Windows-specific. >>> >>> Regards, >>> Craig-- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hi, you might want to post your question here http://groups.google.com/group/comp.lang.ruby because your question is targeted to Ruby instead Rails. Good luck, -Conrad On Thu, Aug 28, 2008 at 5:36 AM, Shanmu Varatharajank < rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > is it possible in > Ruby to interface with a device through a RS232 serial connection? > > I want to connect my Windows XP computer with a medical device through > RS232 - get data from the device and send it messages. > -- > Posted via http://www.ruby-forum.com/. > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---