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

Home » Public Forums » archive » widget_control from call_external
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
widget_control from call_external [message #24012] Thu, 01 March 2001 06:48 Go to next message
Dominic.Scales is currently offline  Dominic.Scales
Messages: 1
Registered: March 2001
Junior Member
Hello all,

anybody have a hint on this?

I have a c/c++ programme that is called from within a
widget hierachy via call_external.

As the computations made take fairly long, I want to update
a status bar with a 'Percentage complete' from the C-routine,
so the user doesn't get upset and thinks the programme died
on him/her.

How do I go about that???

Dominic

--
Dipl. Phys. Dominic R. Scales | Aero-Sensing Radarsysteme GmbH
Tel: +49 (0)8153-90 88 90 | c/o DLR Oberpfaffenhofen
Fax: +49 (0)8153-908 700 | 82234 Wessling, Germany
WWW: aerosensing.de | email: Dominic.Scales@aerosensing.de

--
Posted from hans.as.op.dlr.de [129.247.186.91]
via Mailgate.ORG Server - http://www.Mailgate.ORG
Re: widget_control from call_external [message #24052 is a reply to message #24012] Mon, 05 March 2001 10:08 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
dominic@work.com (dominic@work.com) writes:

> That sounds like a great idea.
> I tried to implement that, but the timer stops ticking!
> Seems like xmanager doesn't accept events until the
> call_external returns.

Humm. Yes. I can see how that might happen. :-(

I'm afraid you might have to figure out some
way to go with JD's suggestion of interrupts.
Completely out of my league, though, sorry.

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: Registering CT and MRI volumes
Next Topic: write DICOM file...

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

Current Time: Fri Oct 10 09:26:39 PDT 2025

Total time taken to generate the page: 0.48402 seconds