X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 28 Aug 2013 03:55 AM by  anon
Undefined procedure/function ENVI_SETUP_HEAD
 3 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
28 Aug 2013 03:55 AM
    Hello All, I am having an issue with an old piece of IDL code that I inherited from a colleague. Part of the code involves creating a new file, but I am getting an error when creating the header for this new file. The error message that I am getting is "Attempt to call undefined procedure/function: 'ENVI_SETUP_HEAD'." This code has worked in the past, but only in IDL v8.0, whereas I am getting the error when running it in IDL v8.2 I have modified the original code (removing widgets that opened an existing file and created a new file), but have not touched the header area. Would someone be able to help me determine if this error is due to the difference in versions, or if it due to my changes? I would like to be able to test this in 8.0, but cannot get a license for that version. Many thanks SM

    Berangere Casson



    New Member


    Posts:61
    New Member


    --
    28 Aug 2013 09:14 AM
    The 'ENVI_SETUP_HEAD' routine is an ENVI routine. It then requires to have ENVI+IDL installed and licensed in order to work.

    Deleted User



    New Member


    Posts:
    New Member


    --
    02 Sep 2013 02:31 AM
    Hello, thanks for replying. What I am trying to do is to be able to run my IDL code without having to open ENVI (too many people, not enough licenses). Are there any other methods that I can use to create the header files? (Sorry, I am not an IDL/ENVI expert).

    Deleted User



    New Member


    Posts:
    New Member


    --
    02 Sep 2013 06:06 PM
    Yep, this is actually pretty easy. The header is just a text file. The best thing to do is look at an existing header file and use that as a template.
    You are not authorized to post a reply.