X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 09 Oct 2011 12:11 PM by  anon
Spectral Analyst User Functions?
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:1
New Member


--
09 Oct 2011 12:11 PM
    Has something changed in ENVI 4.7 and 4.8 with regards to adding user functions? I've tried expanding Spectral Analyst with my own matching functions and encountered problems. So I tried plugging in the "irsadist_func.pro" provided in the ~envi48\lib directory as discussed in the help documentation and encountered the same problem. The listing that I get in the IDL command history window is: % Restored file: ENVI. % Restored file: ENVI_M01. % Restored file: ENVI_M02. % Restored file: ENVI_M03. % Restored file: ENVI_M04. % Restored file: ENVI_M05. % Restored file: ENVI_M06. % Restored file: ENVI_M07. % Restored file: ENVI_M08. % Restored file: ENVI_D01. % Restored file: ENVI_D02. % Restored file: ENVI_D03. % Restored file: ENVI_CW. % Restored file: ENVI_IDL. % Restored file: ENVI_IOW. % Compiled module: DAED_FUNC. % Compiled module: DICORR_FUNC. % Compiled module: IRSADIST_FUNC. % Restored file: ENVI_RV. % Restored file: ENVI_SPC. % Attempt to call undefined procedure/function: 'ENVI_IDENTIFY_ID_SETUP'. % Execution halted at: ENVI_IDENTIFY_SETUP % ENVI_IDENTIFY_WIDGET_EVENT % WIDGET_PROCESS_EVENTS % $MAIN$ ENVI> So do user functions now require some kind of ENVI_IDENTIFY_**_SETUP program for each extension program? If so, what is the format and where does it go in the directory tree?

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    11 Oct 2011 01:25 PM
    What was your entry in the user_add.txt? I used the following for the irsadist_func.pro: {identify} {Spectral Analyst example} {DIST} {irsadist_func} {0, 1.0} Be sure to have a carriage return after the last entry in the user_add.txt.
    You are not authorized to post a reply.