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

Home » Public Forums » archive » Re: control IDL process
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: control IDL process [message #18060] Tue, 23 November 1999 00:00
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
"pei zeng" <pei@prism-cs.com> writes:
>
> I would like to control my IDL process(stop,continue) by click on widget
> buttons to perform actions such as 'stop', 'continue' , etc. I know the stop
> procedure would stop the IDL execution, but it turns control to the
> interactive mode, using .cont to resume.

Usually you have turn your thinking around when you design widget
programs. In this case, you will probably have to create a button
widget before you begin your processing, and then periodically poll
that widget for any activity. If you retrieve your own events
directly (instead of using XMANAGER) you can do this.

As David points out, it is currently impossible to directly control an
IDL computing process with just a widget. After all, how can an IDL
program control itself?

Craig

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
Re: control IDL process [message #18067 is a reply to message #18060] Tue, 23 November 1999 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
pei zeng (pei@prism-cs.com) writes:

> I would like to control my IDL process(stop,continue) by click on widget
> buttons to perform actions such as 'stop', 'continue' , etc. I know the stop
> procedure would stop the IDL execution, but it turns control to the
> interactive mode, using .cont to resume.

It's not going to happen. At least not the way
you were hoping it would. Tell us more about
what you are trying to do.

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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: FORTRAN to IDL translation
Next Topic: control IDL process

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

Current Time: Fri Oct 10 10:08:53 PDT 2025

Total time taken to generate the page: 0.00902 seconds