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

Home » Public Forums » archive » IDL 7: Window blanks while waiting for input from the workbench
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
IDL 7: Window blanks while waiting for input from the workbench [message #75013] Mon, 14 February 2011 12:38
Jared Espley is currently offline  Jared Espley
Messages: 17
Registered: February 2006
Junior Member
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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Bugs with hardware rendering
Next Topic: Re: Preferred way to get multiple returns from a function

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

Current Time: Wed Oct 08 13:38:41 PDT 2025

Total time taken to generate the page: 0.00588 seconds