01-04-2013 09:02 AM
Wow! I knew the options previously existed to enable scripting, I didn't know they still worked.
Thanx, +1 kodu for you...
01-04-2013 10:05 AM
Does this method work in an executable by any chance?
Mike...
01-14-2013 05:05 AM
With the standard LabVIEW Run-Time Engine () with default settings) I don't think it's possible to do VI scripting.
At least in the past (LV2010-LV2011) VI Scripting was not supported in the Run-Time Environment.
I also believe it's not supported in the default LabVIEW 2012 Runtime Engine, but I could be wrong.
It gives back an error 1043 (LabVIEW: The property or method is not supported in this version of LabVIEW.)
01-14-2013 07:30 AM
You can always find out whether or not something will run in the run-time engine by looking at its LabVIEW help entry. Alternately, you can try it, but the help file is a lot easier. In general, if it changes code, you will not be able to use it in the run-time engine, since the run-time engine does not include a compiler. If it involves inspection, you can probably do it. Note that inspection of the block diagram on executables is a somewhat dicey proposition. It won't work if the block diagram has been stripped. This sort of thing is usually done as part of development.
Please note that "scripting" is an overloaded term. I like to restrict its use to code creation and modification, using "VI server" or "methods" or "properties" for other things, such as inspection. Unfortunately, this is not the norm on these forums, where "scripting" is used to denote any VI server use.