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

Home » Public Forums » archive » Re: serial.dll for serial port under IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: serial.dll for serial port under IDL [message #62998 is a reply to message #62997] Mon, 20 October 2008 08:21 Go to previous messageGo to previous message
Wout De Nolf is currently offline  Wout De Nolf
Messages: 194
Registered: October 2008
Senior Member
Is this what you're talking about?
http://imac-252a.stanford.edu/programs/IDL/idl_serial/

How do you know there's no reaction from the device on COMM_WRITE?
What errormessage is COMM_READ giving? Did you try calling it from a C
(or C++) program?

If you have a compiler, start debugging serial.c by attaching to a
running idl process (IDL7.0: C:\Program
Files\ITT\IDL70\bin\bin.x86\idl_opserver.exe, IDL6.x: if I remember
correctly this was idlde.exe...) and then issue the COMM_READ in IDL
and set a breakpoint in the c-code.


On Sat, 18 Oct 2008 09:50:10 -0700 (PDT), thejll@mail.dk wrote:

> I am unable to get the serial.dll and its dlm to work. Can anybody
> show me a piece of IDL code that uses the serial.dll and dlm to read
> from or write to the serial port?
>
> I'd like to be able to do things like read from a GPS or a telescope
> (whic accepts strings printed to the serial port).
>
> As seen on this group in about 2004 the dll and the dlm has been
> discussed - but no use was shown. I too can use the COMM_OPEN and
> COMM_CLOSE calls. I can get the COMM_WRITE to report the number of
> characters written but there seems to be no reaction from the device
> written to and COMM_READ never reports anything but failure.
>
> It may be significant to say that I use IDL 6.3 on a laptop and use a
> serial-USB dongle. Yes, the dongle works - e.g with a GPS and
> dedicated GPS software.
>
> Can anyone suggest something that works?
>
> Peter Thejll
> Denmark
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: PLOTS in different windows with different RANGE
Next Topic: Surface Normals

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

Current Time: Wed Oct 08 14:01:16 PDT 2025

Total time taken to generate the page: 0.01701 seconds