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

Home » Public Forums » archive » Re: Access to serial ports
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: Access to serial ports [message #13444] Thu, 12 November 1998 00:00
steinhh is currently offline  steinhh
Messages: 260
Registered: June 1994
Senior Member
In article <364A5231.E68A994D@uleth.ca> Brad Gom <gombg@uleth.ca> writes:
> David R. Wyble wrote:
>
>> Looking through the IDL documentation, I do not see anything pertaining to
>> communication ports. Did I miss it, or is this possible?
>>
[snip]
> in terms of real time support, I think you're out of luck.
> I write my IO programs in C, and then analyze the data in
> IDL. You can write small C programs that are callable from
> the IDL SPAWN command, and also call IDL from windows based
> programs, but direct control of the ports is not
> possible. Too bad, because this would at least double IDLs
> usefulness for me.

If you already have the C routines that access the IO ports
etc, then implementing them as CALL_EXTERNAL, LINKIMAGE or
DLMs (Dynamically Loadable Libraries) isn't all that difficult.

It takes some plundering the first few times to get it right,
but the benefit of being able to do this from within IDL would
make up for it in a short while.

Regards,

Stein Vidar
Re: Access to serial ports [message #13451 is a reply to message #13444] Wed, 11 November 1998 00:00 Go to previous message
Brad Gom is currently offline  Brad Gom
Messages: 49
Registered: August 1997
Member
David R. Wyble wrote:

> Looking through the IDL documentation, I do not see anything pertaining to
> communication ports. Did I miss it, or is this possible?
>
> I know, this might make code somewhat (!) less portable, but it would really
> help if I could do this. Either PC or a Mac works for me; I play on both teams.
>
> Thanks for your help,
>
> Dave Wyble
> wyble@cis.rit.edu
> RIT Munsell Color Science Lab

in terms of real time support, I think you're out of luck. I write my IO programs
in C, and then analyze the data in IDL. You can write small C programs that are
callable from the IDL SPAWN command, and also call IDL from windows based programs,
but direct control of the ports is not possible. Too bad, because this would at
least double IDLs usefulness for me.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: avoiding for loops
Next Topic: Re: Talking with my C data

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

Current Time: Mon Oct 13 17:44:24 PDT 2025

Total time taken to generate the page: 0.72061 seconds