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

Home » Public Forums » archive » DLL Interfacing; MOMENT comments
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
DLL Interfacing; MOMENT comments [message #18169] Thu, 02 December 1999 00:00 Go to next message
wbiagiot is currently offline  wbiagiot
Messages: 59
Registered: January 1999
Member
Hi Fellow IDLers,

I've been working concurrently with IDL, MS C, and the National
Instruments VISA library for awhile now. It never occurred to me until
now to ask if anyone has interfaced IDL with NI-VISA. The task actually
boils down to the topic that I've been avoiding learning due to my
current workload - having IDL utilize an external predefined DLL. I'm
suspecting that there needs to be an intermediate layer between the two
- something of the 'DLM' form. If anyone can advise, please do.

Also, is there a purchasable reference that does a good job of
explaining the above process?. David or Ronn, if you cover this one,
I'll break down and spring for a copy of your book :) .

On an unrelated topic, there has been mention of the MOMENT routine
recently. I've just done some digging through it in another
speed-related issue. If you need to perform alot StdDev's or Means, you
might consider writing your own, as I did. MOMENT is calculating *all*
the calculations (Skewness, Kurtosis, et al) *all* the time - no matter
what you ask for. In fact, calling the STDDEV routine, only routes the
process over to MOMENT - whee!


Thanks all,

-Bill B.

--
"They don't think it be like it is, but it do."

Oscar Gamble, NY Yankees


Sent via Deja.com http://www.deja.com/
Before you buy.
Re: DLL Interfacing; MOMENT comments [message #18175 is a reply to message #18169] Wed, 01 December 1999 00:00 Go to previous messageGo to next message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Bill B (wbiagiot@suffolk.lib.ny.us) writes:

> The task actually
> boils down to the topic that I've been avoiding learning due to my
> current workload - having IDL utilize an external predefined DLL.
>
> Also, is there a purchasable reference that does a good job of
> explaining the above process?. David or Ronn, if you cover this one,
> I'll break down and spring for a copy of your book :) .

Uh, no. I was waiting for you to send me the notes, Bill,
so I could include it in the new 2000 update. :-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
Re: DLL Interfacing; MOMENT comments [message #18268 is a reply to message #18169] Mon, 06 December 1999 00:00 Go to previous message
wbiagiot is currently offline  wbiagiot
Messages: 59
Registered: January 1999
Member
Hi Justin,

That was an interesting case that you supplied as I have been using an
external DLM-type module that I obtained from this thread for playing
wav. files in my application. I will be happy to switch when I get my
maintenance release of IDL 5.3 (soon, RSI?) I reread the documentation
on call_external and alot of things fell into place. The only downside
that I can see is that the external DLL module must support the ARGC/V
parameter conventions - not that bad unless you are planning on calling
routines that don't currently adhere to this (the National Instruments
VISA/VXI library does not). If the source code is not available to
recompile the module, an interface layer looks like it might be
necessary.

Thanks for your help,

Bill B.

--
"They don't think it be like it is, but it do."

Oscar Gamble, NY Yankees


Sent via Deja.com http://www.deja.com/
Before you buy.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: contour in polar coordinates
Next Topic: can structures be saved to an HDF file?

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

Current Time: Wed Oct 08 20:01:25 PDT 2025

Total time taken to generate the page: 0.00875 seconds