comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Serial port DLM for UNIX ?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Serial port DLM for UNIX ? [message #69719] Wed, 10 February 2010 06:46
natha is currently offline  natha
Messages: 482
Registered: October 2007
Senior Member
Ok, I see...
Thanks for your replay pp. I'll continue working in Windows.
nata
Re: Serial port DLM for UNIX ? [message #69725 is a reply to message #69719] Tue, 09 February 2010 15:25 Go to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
On Feb 9, 7:59 pm, nata <bernat.puigdomen...@gmail.com> wrote:
> It seems that the DLM only works under Windows and I'm wondering WHY ?

Because the API to access the serial port is very different between
Windows and Linux.

> It seems that there are some ways to recompile the source code
> depending on the IDL version but always under Windows.
> Taking in a count that this a simple C code I suppose that there is a
> way to use the DLM under LINUX. But how ?

The C program does not have to be complicated to be incompatible. It
was written to use the API provided by Windows, which is why you
cannot even get it to compile under Linux.

You will need to find something else that has similar functionality,
but was written for Linux. Even if yo find it, due the the large
variation between Linux distributions, it may not be simple to get to
work on yours.
Re: Serial port DLM for UNIX ? [message #69726 is a reply to message #69725] Tue, 09 February 2010 14:22 Go to previous message
natha is currently offline  natha
Messages: 482
Registered: October 2007
Senior Member
OK, I found the MAKE_DLL procedure and I tried that:

cd, '.', dir
make_dll, 'serial', 'serial', ['COMM_OPEN','COMM_CLOSE'],
input_dir=dir

It doesn't work but maybe this is the correct way. I have a lot of C
compilation problems....
nata
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Simultaneous write on textfile over NFS
Next Topic: Simultaneous write on textfile over NFS

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 11:41:51 PDT 2025

Total time taken to generate the page: 0.00427 seconds