Re: IPLOT lockup problem [message #49473 is a reply to message #49414] |
Tue, 25 July 2006 09:38  |
markb77
Messages: 217 Registered: July 2006
|
Senior Member |
|
|
it seems like in any program that I write, the interpreter is busy
enough that it blocks any iplot update until the entire program is
finished running. the basic structure of what I'm writing is this:
while quit ne 1 do begin
inchar = get_kbrd(0)
case inchar of
'a': begin
commands...
end
'b': begin
other commands....
end
'c': begin
commands...
iplot, something....
end
end
endwhile
when you hit c, the whole IDL environment locks up.
UPDATE: this morning I had a message from RSI saying that they
reproduced the non-updating iplot window, and they think that this
problem is specific to IDL 6.1
Chris Torrence wrote:
> Hi,
>
> I'm not sure there is a problem. Iplot is just like any other IDL widget
> program. If the interpreter is busy doing something, then it cannot process
> widget events. Another example would be:
>
> iPlot
> wait, 10
>
> In your program, you are waiting for input from the command line. Did you
> ever enter any input?
>
> -Chris
>
|
|
|