Search code examples
labview

Get build specifications list and other Properties


I am facing some challenge to read Project's build specification list and some properties of build specs (Ex. Destination Path).

Is there a good way to do this, VI scripting?

Please have a look on picture below: enter image description here


Solution

  • If you use some internal VIs from Application Builder, I believe you can accomplish your goal.

    I used my VIKit tool VIQueryBuildSpecs as a starting point to show how:

    VIQueryBuildSpecs.vi

    The internal Application Builder VIs are located here: vi.lib\AppBuilder\AB_API\Build:

    • Open Build.vi
    • Get Primary Destination Path.vi
    • Close.vi

    While this works for most output target types, the only way I see to get this information for a zip file target is using Preview.vi instead of Get Primary Destination Path.vi, but it takes much longer since a preview is generated.