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

Home » Public Forums » archive » Interrupting a loop in a GUI
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
Interrupting a loop in a GUI [message #38483] Thu, 11 March 2004 05:26
ebertf is currently offline  ebertf
Messages: 12
Registered: January 2004
Junior Member
I wrote a GUI for displaying a camera picture that looks like this:
There�s a display for the pic, some buttons to set display parameters
and a button to START the camera.
My problem is, when I press the START button, the event starts an
infinite loop in my _eventcb program that is aquiring pictures from
the camera forever...

The question now is:
How can I interupt a loop from another button, i.e. how can I create
the STOP button on my GUI Surface. Or how can I change parameters
during the camera loop is running.

Usually IDL waits until the process in the _eventcb is finished before
it executes another thing from the GUI Surface.
I guess there is a very simple answer, but I don't know it... :-)

Florian
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: UTM WGS-84 projection with IDL?
Next Topic: how to create a loop?

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

Current Time: Wed Oct 08 15:49:32 PDT 2025

Total time taken to generate the page: 0.00376 seconds