Compile status (cross-platform) in Igor Automation script
yamad
Status1
function 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", ";", "")
will return
"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.
Forum
Support
Gallery
Igor Pro 9
Learn More
Igor XOP Toolkit
Learn More
Igor NIDAQ Tools MX
Learn More