Continuous Integration

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEWCLI -ExecuteBuildSpecFPGA with bitfile versioning

Hi all,

Recently there has been some discussions on both LabVIEWCLI build of build specifications under an FPGA target and how to version bitfiles.

I wanted to put forward an example to the community of our custom CLI operation to build from the CLI using the <vi.lib>\rvi VIs.

It also adds a new parameter named: -BuildMetadata that is used to version the file by filling in the Build Description field. Of course, it also allows for patching the CodeGenerationResults.lvtxt file so that your bitfile has the correct <BuildSpecDescription> tags. 

 

Hopefully others will find it useful or build on it to further grow this wonderful community!

Cris

 

How to use:

- extract the rar to the NationalInstruments\Shared\LabVIEW CLI\Operations folder.

- add the new ExecuteBuildSpecFPGA.lvclass to the operations project.

 

Information:

- version: 2018SP1

- Most VIs were left debuggable/non-reentrant;

- You can use the "-Help" parameter as for other CLI operations to get additional information.

- example use case from the command line: 

LabVIEWCLI -OperationName "ExecuteBuildSpecFPGA" -ProjectPath "<PATH TO LV PROJECT>" -BuildMetadata "<SAMPLE TEXT>"

 

 

Message 1 of 1
(3,817 Views)