|
From: | CdeMills |
Subject: | Re: How to access COM Port with Octave? |
Date: | Wed, 22 Sep 2010 06:03:22 -0700 (PDT) |
John Swensen wrote: > > > > Another option involve(s) using the ser2net library. Octave already has a > sockets package and the ser2net server allows you to connect over a socket > and then send and receive over the serial port. I know that this package > used to be available on Cygwin (I haven't used cygwin in 5-6 years so > don't know whether it is still available). I also know of one lab that > had a very old PC that they put a tiny Linux distribution on whose sole > purpose was to run ser2net and connect to their device over serial. Then > they could control the device from any networked machine. > > Another option is to use the Win32 API which doesn't seem too complicated: http://msdn.microsoft.com/en-us/library/aa363258%28v=VS.85%29.aspx look for GetCommModemStatus. But could those functions be used under cygwin ? Pascal -- View this message in context: http://octave.1599824.n4.nabble.com/How-to-access-COM-Port-with-Octave-tp2549270p2550235.html Sent from the Octave - General mailing list archive at Nabble.com.
[Prev in Thread] | Current Thread | [Next in Thread] |