DLL Interfacing; MOMENT comments [message #18169] |
Thu, 02 December 1999 00:00  |
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 #18268 is a reply to message #18169] |
Mon, 06 December 1999 00:00  |
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.
|
|
|