11-12-2019 11:44 AM
When compiling a .vi, the conditional disable structures need to be accounted for. In addition to the standard ones (bitness, OS, etc), the conditional disable also can use custom created Conditional Disable Symbols that are located in the .lvproj (one set for the entire project, but also subsets under each target)
I'm under the impression when the Mass Compile is launched from the right click menu on the project in the Project Explorer, the mass compile occurs with the current project's Conditional Disable Symbols.
For mass compile via the command line, how do we indicate the correct Conditional Disable Symbols that would normally be in the .lvproj?
https://zone.ni.com/reference/en-XX/help/371361R-01/lvconcepts/cli_predefined_operations/
Solved! Go to Solution.
11-19-2019 11:26 AM
Hello,
On the Mass Compiling VIs section of the LabVIEW 2018 Manual it specifies the operation order for the Mass Compile:
"
When LabVIEW mass compiles a directory of VIs, it processes files in the following order at each level of the directory hierarchy:
So basically, as it says on the link you attached you just have to use the OperationName MassCompile and the argument -DirectoryToCompile where you specify thelocation of the VIs. Then that Mass Compile should include everything in the directory you specified (even the Conditional Disable Symbols).
Hope it helps!