IDL and ActiveX CCD camera [message #31580] |
Thu, 01 August 2002 16:56  |
bjones8
Messages: 6 Registered: August 2002
|
Junior Member |
|
|
Hello-
I am just getting started with IDL and was curious about its ActiveX
functionality.
I have a CCD camera that uses COM (ActiveX) interfaces for control.
Would I be able to use these ActiveX controls from just within IDL?
From reading the documentation it seems as if I need to use VB or VC++
to control the CCD camera and call IDL from VB/VC++/LabView (I do not
want to do this).
I'd like to build an application that uses IDL for GUI (and everything
else) but just uses the ActiveX controls to grab some images from the
CCD, and preferably control the CCD camera.
I want IDL to be the mothership, and not the slave :-)
BTW I am using MaxIm DL for the CCD interfacing, which states:
"Almost all of MaxIm DL and MaxIm CCD capabilties are available via
the scripting interface. This interface is ASCOM comliant, and uses
platform-independent COM (ActiveX) interfaces for compatibility with
the built-in Windows scripting host and many programming languages."
I'd appreciate any feedback (including, "you're crazy!")
Brandon Jones
Mechanical & Aerospace Engineering Department
Henry Samueli School of Engineering & Applied Science
|
|
|
Re: IDL and ActiveX CCD camera [message #31712 is a reply to message #31580] |
Sat, 03 August 2002 05:50  |
ronn
Messages: 123 Registered: April 1999
|
Senior Member |
|
|
in article %sF29.100$15.30244@news.uchicago.edu, Mark Rivers at
rivers@cars.uchicago.edu wrote on 8/2/02 8:28 PM:
> I have tried using the COM/ActiveX interface in IDL 5.5 to talk to CCD
> cameras from Roper Scientific (formerly Princeton Instruments) using their
> COM interface. Basically it does not work from IDL, while it works fine
> from Visual Basic.
>
Along those lines I have been using the activeX interface to send commands
through the serial port using the MScomm32 COM object. For some reason this
will not work until you install Visual C++ (I haven't tried Visual Basic)
and then uninstall everything but the active X components. This has
happened to me 4 times now so the behavior is consistent between windows NT,
2000 and XP. Other than that, these new COM and activeX interfaces have
been working beautifully for me.
-Ronn
--
Ronn Kling
KRS, inc.
email: ronn@rlkling.com
"Application Development with IDL"� programming book updated for IDL5.5!
"Calling C from IDL, Using DLM's to extend your IDL code"
http://www.rlkling.com/
|
|
|