[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to access COM Port with Octave?
From: |
Andy Buckle |
Subject: |
Re: How to access COM Port with Octave? |
Date: |
Wed, 22 Sep 2010 11:23:42 +0100 |
On Wed, Sep 22, 2010 at 9:51 AM, Wolfgang Schechinger <address@hidden> wrote:
> A free C++ serial communications library for windows is here:
>
> https://iftools.com/opensource/wxterm.en.php
>
> HTH
>
> Wo
>
> -------- Original-Nachricht --------
>> Datum: Wed, 22 Sep 2010 01:34:44 -0700 (PDT)
>> Von: CdeMills <address@hidden>
>> An: address@hidden
>> Betreff: Re: How to access COM Port with Octave?
>
>>
>>
>> GMX wrote:
>> >
>> > Hey folks,
>> >
>> > I have a question to Octave.
>> > Is there a possibility to access the COM port in Octave? I'm using a
>> > winXP maschine. I searched the web but still found no informations about
>> > successful solutions.
>> > Matlab offers a serial.m but I found nothing similar for Octave.
>> >
>> >
>>
>> I wrote a similar program in C, performing the buffering and avoiding
>> being
>> blocked during write to file, it is used as an external command using
>> popen.
>> It runs on Linux using the termios interface. Under Windows, cygwin
>> doesn't
>> have this kind of lib. So the first point is to either work with the Win32
>> API, either find an open source serial lib.
>>
>> Regards
>>
>> Pascal
I used http://www.rxtx.org/ a few years back to do some COM port
interfacing from Java on MS Windows. It worked well for me. This may
be overcomplicating things (Octave->Java->C++)!
--
/* andy buckle */