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

Home » Public Forums » archive » Re: iimage tool
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: iimage tool [message #39873 is a reply to message #39871] Wed, 16 June 2004 05:32 Go to previous messageGo to previous message
Francois is currently offline  Francois
Messages: 8
Registered: May 2004
Junior Member
Hello,

Yes. Breakpoints are only there for debugging. But even without breakpoints,
it jams...
In the following code:
pro testing
im = dist(512)
iimage, im
t=1
print, 'hello'
end
the image im is being displayed after the "print hello". It is not normal.
The execution of the code should pause while iimage is running.
Like using XROI...

So if I put a breakpoint at line "t=1", then iimage jams. Nothing happens.
And the breakpoint is after the call of iimage...

Have a nice day.

Francois.

P.S. I have sent the question to IDL suppport.



"David Fanning" <davidf@dfanning.com> wrote in message
news:MPG.1b3904455205aefc9897a1@news.frii.com...
> Francois writes:
>
>> I think I found the anwser.
>>
>> At the command prompt, this works fine:
>>> im = read_tiff('C:\toto.tif')
>>> iimage, im
>>
>> Included in my code, it does not work because of breakpoints. The time
>> iimage is started, the processing of the code continues and reaches a
>> breakpoint. Then it jams...
>>
>> Any idea about how to wait iimage has finish before keeping running the
code
>> ?
>
> Breakpoints!? Oh, dear. Hope this is not production
> code. :-(
>
> I think I would try removing all your breakpoints,
> or at least putting them into the code *after* the
> call to iImage. :-)
>
> Are you using breakpoints for something other than debugging
> code?
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Displaying a grid
Next Topic: Re: Parent Child relationship in IDL

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

Current Time: Sat Oct 11 21:16:17 PDT 2025

Total time taken to generate the page: 0.40346 seconds