help-octave
[Top][All Lists]
Advanced

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

Re: Aw: serial port patch files octave instrument-control


From: John Donoghue
Subject: Re: Aw: serial port patch files octave instrument-control
Date: Fri, 06 Mar 2015 10:22:18 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0

On 03/06/2015 09:08 AM, Stefan Mahr wrote:
For my application on the raspberry pi, I needed to also read the
serial ClearToSend and DataSetReady pins. I have adapted your code to
do exactly that for linux-machines. The changed files are attached.
Would you like to include it in the main code? I can also send patch
files if you prefer. The only caveat is that I don't have a windows pc
or mac, so that I am not sure if I broke the windows and mac code with
my changes in get.m and __srl_properties__.cc. You would need to check
that.

Regards,
Alexander Heimel
Hi Alexander,

Thanks for your patch. I just pushed a modified version to hg repository [1]. 
Instead of using the pin names for the properties I added property 'PinStatus' 
and return a struct that includes CTS, DSR, CD and RI signals. This fits better 
to existing MATLAB behaviour. I also added win32 support, but I can't test it.


John,

could you help out and test/correct the new property with win32?


BR,
Stefan


------------------------
[1] 
http://sourceforge.net/p/octave/instrument-control/ci/d84afe02be06e698da7bc89dc049d7224e6ea425/


I will take a look



reply via email to

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