build-library
- 更新时间2023-02-17
- 阅读时长2分钟
build-library
将指定库生成为二进制文件。
要从CLI生成库,请使用以下语法:
labviewnxg.cli build-library -p <relative or absolute location of the project> -n <name of the library> -t <SystemDesigner target containing the library>
例如:
labviewnxg.cli build-library -p "C:\LabVIEW Projects\Project.lvproject" -n "Library.gcomp" -t "PXI Controller"
注: 如要使用build-library操作,用于生成的机器必须具有应用程序生成器和用于TestStand的LabVIEW NXG特性许可证。
| 参数 | 必需 | 说明 | 范例 |
|---|---|---|---|
|
是 | 指定包含要生成的库的项目的相对路径或绝对路径。 |
|
|
是 | 指定要生成的库的名称。 |
|
|
如项目包含SystemDesigner终端,则该参数为必需。 | 指定包含要生成的库的SystemDesigner终端。 在编辑器中打开库并单击选择终端下拉列表来查看支持的终端。 |
|
|
否 | 生成后保存库和项目文件。 在库中选择自动递增生成版本时使用该参数。 |
— |