VI Analyzer Enthusiasts Documents

Showing results for 
Search instead for 
Did you mean: 

CheckMScriptUsage.llb

by warren_scott ‎02-18-2015 10:22 AM - edited ‎01-27-2017 04:24 AM

MScript (MathScript) nodes can contain functions that behave differently in LV Development Environment vs RunTime Engine (or maybe not even work at all).  Generally you can see these as yellow triangle exclamation marks in the MScript nodes. 

This VI Analyzer test goes through your code and finds MScript nodes and alerts you to any instance of those problematic function calls. 

Note: This is hard coded to the list of problematic function calls as per the LV2012 help documentation.

Note: This test is not smart enough to determine the difference between "foo" used as a function call, and "foo" used as part of a constant text string in the MScript node, so you may get a few false hits. 

Contributors