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

Home » Public Forums » archive » Calling C routines
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
Calling C routines [message #8056] Wed, 05 February 1997 00:00 Go to next message
Robert Gappinger is currently offline  Robert Gappinger
Messages: 1
Registered: February 1997
Junior Member
Hello.

I am looking for info from someone who has experience calling C routines
with IDL for the purpose of controlling a framegrabber and a couple of
stepper motors. I need to know how difficult it is to use IDL for lab
automation control. I would rather use IDL than something like LabView
since IDL has the image analysis power I need. If anyone has experience
in this area, please let me know.

Thanks.

Robert Gappinger
Graduate Research Assistant
Optical Sciences Center
University of Arizona
Re: Calling C routines [message #8177 is a reply to message #8056] Wed, 12 February 1997 00:00 Go to previous messageGo to next message
kak is currently offline  kak
Messages: 16
Registered: February 1995
Junior Member
In article <32F8B9B5.2B02@u.arizona.edu>, Robert Gappinger
<gappingr@u.arizona.edu> writes:
|>Hello.
|>
|>I am looking for info from someone who has experience calling C routines
|>with IDL for the purpose of controlling a framegrabber and a couple of
|>stepper motors. I need to know how difficult it is to use IDL for lab
|>automation control. I would rather use IDL than something like LabView
|>since IDL has the image analysis power I need. If anyone has experience
|>in this area, please let me know.

If you want to do this on the PC under Win95 or NT, I can give you tips
on call_external usage under this architecture and on how to access
the serial ports for sending commands to the step motor controllers.
(I am using VC++ 4.2 for the C language part).

If you already have the system device driver for your frame grabber,
you basically need only write a wrapper around the respective calls
to deal with IDL's argc,argv calling conventions.

Karl
--
--
IPP, PO Box 1533 | Phone: +49-89-3299-1655 | E-Mail:
D-85740 Garching | FAX : +49-89-3299-1149 | krieger@ipp.mpg.de
Re: Calling C routines [message #8180 is a reply to message #8056] Wed, 12 February 1997 00:00 Go to previous messageGo to next message
plugge is currently offline  plugge
Messages: 17
Registered: May 1995
Junior Member
In article <32F8B9B5.2B02@u.arizona.edu>, Robert Gappinger
<gappingr@u.arizona.edu> writes:
|>Hello.
|>
|>I am looking for info from someone who has experience calling C routines
|>with IDL for the purpose of controlling a framegrabber and a couple of
|>stepper motors. I need to know how difficult it is to use IDL for lab
|>automation control. I would rather use IDL than something like LabView
|>since IDL has the image analysis power I need. If anyone has experience
|>in this area, please let me know.

Robert,
I have done this several times for VMS. It's not very difficult; if you have
more specific questions, let me know.

Michel
Re: Calling C routines [message #8217 is a reply to message #8056] Tue, 18 February 1997 00:00 Go to previous message
Patrick V. Ford is currently offline  Patrick V. Ford
Messages: 14
Registered: February 1997
Junior Member
Could you let us know whick OS you are using. There are examples in the
IDL manual but there differ somewhat from systemt to system. I have
called C routines on a PowerPC MacOS using CodeWarrior. The compiler has
to be set properly to produce the correct links, and it is not the same
for a 68040 Mac.

Patrick Ford, MD
pford@bcm.tmc.edu
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: What is "DUMP"?
Next Topic: byteoder for float numbers conversion

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

Current Time: Wed Oct 08 15:48:48 PDT 2025

Total time taken to generate the page: 0.00680 seconds