Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Caveats and Recommendations for Setting Search Paths (MathScript RT Module)

LabVIEW 2012 MathScript RT Module Help

Edition Date: June 2012

Part Number: 373123C-01

»View Product Info
Download Help (Windows Only)

You set the search path list so LabVIEW can find the functions or scripts that you defined and want LabVIEW to execute in MathScript. The following list describes some of the caveats and recommendations to consider when setting the search path list in the MathScript environment:


Note   In a project, you must set the search path list for each target executing MathScript Nodes that call .m files.
  • If you move a .m file and the VI that calls that .m file, you do not need to reconfigure the MathScript search path list to call the .m file, as long as you maintain the same relative path between the VI and the .m file.
  • Avoid adding, returning, or removing paths in a MathScript Node using the following functions that cause warning glyphs:
  • You can use the VI Hierarchy window to view the .m files called in MathScript Nodes. To view the full path of the .m file, you must select Full VI Path in Label from the View menu in the VI Hierarchy window to include the path in the label that appears when you hover over the VI icon.
  • You also can use the Context Help window to view the full path to the .m files in MathScript Nodes. You must hover over the name of the .m file and click the Show Optional Terminals and Full Path button in the Context Help window to display the path.

 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit