help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RS232/Serial Comms


From: John Swensen
Subject: Re: RS232/Serial Comms
Date: Sat, 28 Oct 2006 09:37:08 -0400
User-agent: Thunderbird 3.0a1 (Macintosh/20061024)

John W. Eaton wrote:
On 28-Oct-2006, Stefan Mahr wrote:

| John W. Eaton schrieb:
| > On 27-Oct-2006, Stefan Mahr wrote:
| > | > | You are right. Any other solution? | > | > The obvious thing is a freely redistributable replacement for the
| > Visa32 library.  But I would guess that you were looking for something
| > that would be easier to do.
| > | | Of course :) Maybe with a server/client structure with comunication over | a socket?

I'm not a big fan of technical gymnastics to avoid the terms of the
GPL.  However, see

  http://www.gnu.org/licenses/gpl-faq.html#MereAggregation

for more info.

jwe
_______________________________________________
Help-octave mailing list
address@hidden
https://www.cae.wisc.edu/mailman/listinfo/help-octave

There is a python library at http://personal.telefonica.terra.es/web/babur/uspp/uspp.htm that is GPL and I know works because a friend uses it all the time. It shows how to do serial communications on Linux, Windows, and Mac. All three are a little different due to how each OS handles things like setting the baud rate, which files actually represent the serial port, and other similar things. That being said, I don't think it would be a huge effort to simply port this code from python to either M files (might have to add some oct stuff for tcsetattr() calls and such) or simply porting it all to oct files.

John Swensen


reply via email to

[Prev in Thread] Current Thread [Next in Thread]