Re: Again.....plot interrupt? [message #3468] |
Tue, 31 January 1995 13:49  |
hadfield
Messages: 11 Registered: October 1993
|
Junior Member |
|
|
In article <fskmjm.100@puknet.puk.ac.za>, fskmjm@puknet.puk.ac.za says...
>
> How can I interrupt the PLOT procedure without crashing the program,
> so that I don't sometimes have to wait several minutes for a plot to
> finish? I'm using IDL under Windows, and Ctrl-C doesn't make any
> impression while PLOT is running.
Sorry, I don't think you can interrupt PLOT. Under Windows' cooperative
multi-tasking, programs have to be explicitly written to yield control
of the CPU, and the IDL built-in routines don't seem to do this.
It is possible (with minimal effort) to write IDL procedures so that they
can be interrupted--contact me if you want to know how. But this only lets
you interrupt IDL between commands, not during them.
--
============================================================ ==
Mark Hadfield hadfield@storm.greta.cri.nz
NIWA (Taihoro Nukurangi) NIWA.GRETA:HADFIELD
Wellington, New Zealand
|
|
|
Re: Again.....plot interrupt? [message #3540 is a reply to message #3468] |
Thu, 02 February 1995 08:16  |
orbach
Messages: 9 Registered: June 1994
|
Junior Member |
|
|
In <3gmba2$kjc@zephyr.grace.cri.nz>, hadfield@storm.greta.cri.nz (Mark Hadfield) writes:
> In article <fskmjm.100@puknet.puk.ac.za>, fskmjm@puknet.puk.ac.za says...
>>
>> How can I interrupt the PLOT procedure without crashing the program,
>> so that I don't sometimes have to wait several minutes for a plot to
>> finish? I'm using IDL under Windows, and Ctrl-C doesn't make any
>> impression while PLOT is running.
>
> Sorry, I don't think you can interrupt PLOT. Under Windows' cooperative
> multi-tasking, programs have to be explicitly written to yield control
> of the CPU, and the IDL built-in routines don't seem to do this.
>
> It is possible (with minimal effort) to write IDL procedures so that they
> can be interrupted--contact me if you want to know how. But this only lets
> you interrupt IDL between commands, not during them.
>
Could you describe what you mean by writing procedures so that they can be interrupted?
-Darren Orbach
> ============================================================ ==
> Mark Hadfield hadfield@storm.greta.cri.nz
> NIWA (Taihoro Nukurangi) NIWA.GRETA:HADFIELD
> Wellington, New Zealand
>
|
|
|