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

Home » Public Forums » archive » Re: IDL 7: Window blanks while waiting for input from the workbench
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: IDL 7: Window blanks while waiting for input from the workbench [message #75011] Mon, 14 February 2011 13:54 Go to previous message
James[2] is currently offline  James[2]
Messages: 44
Registered: November 2009
Member
On Feb 14, 12:38 pm, Jared Espley <jesp...@gmail.com> wrote:
> My apologies if this is known problem with a known solution but some
> searching didn't turn up anything.
>
> When using the IDL workbench in 7.0 or 7.1 on Windows XP, I have the
> following problem.  My code enters in a repeat-while loop and within
> that loop plots something and then gives a command line prompt back to
> the user.  The plot turns out fine but as soon as I click on something
> else besides the plot window (e.g. the workbench window), the plot
> turns blank.  When I quit the code, then the plot window has its data
> restored.  I've toyed with the retain keyword in plot but this did not
> solve the problem.
>
> Here is some code to reproduce the problem:
>
> input=''
>
> repeat begin
>
>    read, input, prompt='Enter something'
>
>    plot, [1,0], [0,1]
>
> endrep until input EQ 'quit'
>
> end
>
> Thanks,
> Jared

I ran this code from the Workbench command line in IDL 8.0 on Windows
XP-64. If the Workbench is maximized, I cannot even click on the plot
window in the taskbar to bring it forward and look at the plot. It
becomes usable after I type 'quit'. However, if I make the Workbench
smaller so I can see the Direct Graphics window behind it, the plots
work fine and do not go blank when I click inside the Workbench.
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Yesterday's Coyote Graphics Update
Next Topic: working on multiple z buffers at once?

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

Current Time: Wed Oct 08 19:10:30 PDT 2025

Total time taken to generate the page: 0.00385 seconds