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

Home » Public Forums » archive » Re: Again.....plot interrupt?
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
Re: Again.....plot interrupt? [message #3468] Tue, 31 January 1995 13:49 Go to next message
hadfield is currently offline  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 Go to previous message
orbach is currently offline  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
>
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Contouring of data in polar coordinates
Next Topic: data acquisition, device control

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

Current Time: Wed Oct 08 21:41:45 PDT 2025

Total time taken to generate the page: 1.52444 seconds