Compile status (cross-platform) in Igor Automation script
Tue, 10/04/2011 - 08:56 am
Status1function and the
ipStatusProceduresCompiled. However, the Applescript interface on Mac OS X does not provide a similar check.
I found a cross-platform way of checking compilation status. Calling
FunctionList()from outside Igor will return "Procedures Not Compiled" as the first member in the returned list if procedures are not compiled. For instance, issuing this command from an automation script:
fprintf 0, "%s", FunctionList("funcThatDoesntExist", ";", "")
"Procedures Not Compiled;"
if procedures are not compiled and
if procedures are compiled.
This is undocumented behavior of the FunctionList() function, and so this might break in future releases.
Igor Pro 8
Igor XOP Toolkit
Igor NIDAQ Tools MX