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

Home » Public Forums » archive » high priority interupt event
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
high priority interupt event [message #17592] Tue, 02 November 1999 00:00
Richard Tyc is currently offline  Richard Tyc
Messages: 69
Registered: June 1999
Member
Is there any way to send a high priority event, say from an button widget,
and have it interrupt time consuming processes like draws ?

Our IDL application controls some servo motors via socket coomunication.
When the app is "executing" a process, the procedure goes into a loop and I
do check for other events at the beginning of this loop :

ev = WIDGET_EVENT(sState.wEStop, /NOWAIT)

and then check a common block variable to see if the estop button was
pressed.

But, later in the loop, a sState.oWindow->Draw,sState.oView is issued
which can take minutes. Can I somehow break this call if the estop button
was pressed ??
Something like raising a signal and catching it in a handler ?

Thanks in advance

Rich
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: change widget slider maximum dynamically?
Next Topic: Color problem on Mac, not Windows - something about 239?

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

Current Time: Wed Oct 08 13:04:49 PDT 2025

Total time taken to generate the page: 0.00394 seconds