A stupid question....

Hey,

I am a new user here and would like to ask a question that might sound very stupid.... I just downloaded several packages (.ipf) from Projects and wonder how I can import them into Igor Pro. I tried to put them in the "User Procedures" folder but still couldn't find them in Igor.


Thanks,
Shen
shen2 wrote:
... I tried to put them in the "User Procedures" folder but still couldn't find them in Igor.


You must put #include "Package Name" in the procedure window.

When you want to have them open all the time at each case of starting Igor Pro, put the packages in the Igor Procedures folder instead.

See the Help Topic "Including a Procedure File" as a start.



--
J. J. Weimer
Chemistry / Chemical & Materials Engineering, UAHuntsville
IgorHelp.png (122.14 KB)
En... By adding #include "Package Name" in the procedure window, I was able to open the downloaded package as a procedure window. Here are some packages I downloaded: ACL_CreateLayouts.ipf, DragAndDropTraces.ipf, and ExtractTraceFromImage.ipf. However, only the third one appears in the "Macros" Menus and can be used, the other two can only be opened as procedure windows (not shown in Macros) and I have no idea how to use them.
After opening or including ACL_CreateLayouts.ipf, look in Igor's "Misc" menu for a Create Layout menu item.

Note: When there are no instructions for using a procedure file, search it for Menu definitions and try them :-)

--Jim Prouty
Software Engineer, WaveMetrics, Inc.
To clarify, code only appears in the Macro menu if was written to appear there. As the designer of an .ipf file, you can choose which menu (if any) the code is launched from. You could write a procedure file that includes nothing but analysis functions that you want available to other code.