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

Home » Public Forums » archive » Callable IDL from TCL
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
Callable IDL from TCL [message #32976] Sat, 23 November 2002 06:55 Go to next message
mperrin+news is currently offline  mperrin+news
Messages: 81
Registered: May 2001
Member
I have an application written in TCL/TK which calls IDL for plotting
purposes. Currently it only displays a static image in a window and
draws a few line plots. I would like to add a feature to this where,
when the user mouses over the image, the current x & y positions and
pixel value are displayed on screen, preferably in a little widget
window. I wrote an IDL widget application which implements displaying
my image along with a statusbar containing the pixel coords and value.
However, when I call this from TCL, the TCL application locks up
and won't respond to any TCL events until the IDL widget is closed.

I've got a sinking feeling this is due to the fact that neither of these
applications are multithreaded, and that there's no easy way around it.
I would love for someone to tell me I'm wrong...

- Marshall
Re: Callable IDL from TCL [message #33047 is a reply to message #32976] Mon, 25 November 2002 21:52 Go to previous message
Phillip David is currently offline  Phillip David
Messages: 36
Registered: April 1999
Member
Marshall Perrin wrote:
> I have an application written in TCL/TK which calls IDL for plotting
> purposes. Currently it only displays a static image in a window and
> draws a few line plots. I would like to add a feature to this where,
> when the user mouses over the image, the current x & y positions and
> pixel value are displayed on screen, preferably in a little widget
> window. I wrote an IDL widget application which implements displaying
> my image along with a statusbar containing the pixel coords and value.
> However, when I call this from TCL, the TCL application locks up
> and won't respond to any TCL events until the IDL widget is closed.
>
> I've got a sinking feeling this is due to the fact that neither of these
> applications are multithreaded, and that there's no easy way around it.
> I would love for someone to tell me I'm wrong...
>
> - Marshall

Here's a link I found when I searched Google for "tcl threading"
(http://www.google.com/search?q=tcl+threading)

http://www.tcl.tk/doc/howto/thread_model.html

This might help.

Phillip
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: wind vectors & map
Next Topic: Array functions

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

Current Time: Wed Oct 08 14:53:07 PDT 2025

Total time taken to generate the page: 0.00377 seconds