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 #62997 is a reply to message #62983] Mon, 20 October 2008 11:19 Go to previous messageGo to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
Are you sure the serial dlm isn't working? Isolate the issue by doing a
loopback test. Simply short pins 2 and 3 of the DB9 connector as
described here:

http://zone.ni.com/devzone/cda/tut/p/id/3450

Then write a simple program in IDL that sends some data then reads it.
Once you can send data to yourself then connect up the external devices
and try to communicate with them.

If you still can't get it to work you can try recompiling it. I know
that this code has been kicking around for a while so maybe the binary
isn't compatible with 6.3?

-Rick



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:04 PDT 2025

Total time taken to generate the page: 0.00447 seconds