X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 12 Jan 2016 10:46 AM by  anon
Suppressing ENVI windows
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
12 Jan 2016 10:46 AM
    I have an IDL script that is running through a collection of rasters. 95% of the rasters run through the script fine, the 5% that do not stall at a envi header info popup. I need a way to suppress this window and write to a text file the rasters that generate this error. I am not too familiar with IDL, and am hoping that there I can raise an exception and then continue through the script. If you could please point me in the correct direction or provide me some sample code, it would be much appreciated.

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    12 Jan 2016 11:54 AM
    Have you tried the methods mentioned under Manage Errors in the ENVI Help? http://www.exelisvis.com/docs/ErrorHa... This is using the new API. With the ENVI Classic API, when using the ENVI_BATCH_INIT, there is the ability to use /no_status_window and capture errors in the log file. The methods are similar for both new and Classic API.

    Deleted User



    New Member


    Posts:
    New Member


    --
    13 Jan 2016 07:53 AM
    The thing is, that it is not actually giving me an error. Just a header info popup. For some reason the text editor, will not let me add an image, If I could then I could better explain it. Even after adding no_status_window to the ENVI_BATCH_INIT I am getting this pop-up.
    You are not authorized to post a reply.