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

Home » Public Forums » archive » SIMULTANEOUS RUN
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: SIMULTANEOUS RUN [message #2499 is a reply to message #2403] Thu, 07 July 1994 04:19 Go to previous message
stl is currently offline  stl
Messages: 70
Registered: February 1994
Member
In article <2vfr1h$idl@news.service.uci.edu> victor@astro2.ps.uci.edu (Victor Shvetsky (Garden)) writes:
>
> and during this time I want to use the xsurface routine < to rotate the image>
> right now I have something like this:
> a=widget_base()
> b=widget_base(a)
> XSURFACE is under the B base
>
> c=widget_base(a)
> DECONVOLUTION ROUTINE under c base
>
> HOW do I call xmanager so that I get DECONVOLUTION ROUTINE_event to run
> and If I choose XSURFACE button when deconvolution is running,
> I would be able to use xsurface WHILE DECON is running and NOT after.

Hi,

okay, well, if you are using xmanager (which you should be) you will set
up an event handler for your program something like the following:
xmanager,'your_program',a
then in your event handler called: your_program_event.pro you parse for
what event occured, from say your two buttons. I believe once one is
started from within the event handler, you can hit the other button, and
even though the other one is not done yet, the new event will trigger
new code to start (while the other is still running) You should not
need to use the TIMER event stuff because it doesn't sound like your
code is time specific, you just want it to run more or less in parallel.

hope this helps a little. if not, let me know and we can mail back and
forth about this.

good luck,

-stephen
--
Stephen C Strebel / SKI TO DIE
strebel@sma.ch / and
Swiss Meteorological Institute, Zuerich / LIVE TO TELL ABOUT IT
01 256 93 85 / (and pray for snow)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Can't get POSTSCRIPT output
Next Topic: SIMULTANEOUS RUN

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

Current Time: Wed Oct 08 17:42:18 PDT 2025

Total time taken to generate the page: 0.00429 seconds