| Re: LinkImage question [message #23332] |
Tue, 16 January 2001 11:04 |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
src (src@ubiquity.ulo.ucl.ac.uk) writes:
> On Mon, 15 Jan 2001, David Fanning wrote:
>>
>> IDL> .Reset_Session
>>
>> In IDL 5.3 and higher.
>>
> Are you sure? We have have v5.3 but it doesn't seem to work?
Maybe you missed my follow-up article. This should have
been .FULL_RESET_SESSION, and it is not *guaranteed* to
work with all operating systems.
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: LinkImage question [message #23334 is a reply to message #23332] |
Tue, 16 January 2001 10:34  |
src
Messages: 9 Registered: January 2001
|
Junior Member |
|
|
On Mon, 15 Jan 2001, David Fanning wrote:
>
> IDL> .Reset_Session
>
> In IDL 5.3 and higher.
>
Are you sure? We have have v5.3 but it doesn't seem to work?
I was also playing with some of the examples given in chapter 18 of the
External Development Guide (edg.pdf). In particular, the fzroots2.c
example, the example works fine, but I can't see where zroots_f and
zroots_d are coming from. They're not declared in export.h, or nr.h, and
they're defined elsewhere in the source file, so do these functions exist
with IDL and are being called by fzroots2.c? If this was the case I would
have expected they procedures described in chapters 19 & 20 (Callable
IDL) to have been followed, but this doesn't seem to be the case.
cheers,
Stuart
|
|
|
|
| Re: LinkImage question [message #23350 is a reply to message #23334] |
Mon, 15 January 2001 14:20  |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
David Fanning (davidf@dfanning.com) writes:
> Stuart Colley (src@zupcx6.star.ucl.ac.uk) writes:
>
>> I've written a function in C that I can access from within IDL using
>> LinkImage, but if I change the function, recompile it, and re-issue the
>> LinkImage command, IDL does not use the updated function but the original
>> function. Is there anyway of getting IDL to use the new function without
>> exiting and restarting IDL?
>
> IDL> .Reset_Session
>
> In IDL 5.3 and higher.
Whoops! I'm reliably informed that this should be:
IDL> .Full_Reset_Session
And that it is not guaranteed to work on all platforms. :-)
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: LinkImage question [message #23355 is a reply to message #23350] |
Mon, 15 January 2001 12:50  |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
Stuart Colley (src@zupcx6.star.ucl.ac.uk) writes:
> I've written a function in C that I can access from within IDL using
> LinkImage, but if I change the function, recompile it, and re-issue the
> LinkImage command, IDL does not use the updated function but the original
> function. Is there anyway of getting IDL to use the new function without
> exiting and restarting IDL?
IDL> .Reset_Session
In IDL 5.3 and higher.
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
|
|
|
|