当前位置:网站首页>LabVIEW generate application (exe) and installer
LabVIEW generate application (exe) and installer
2022-06-29 02:35:00 【Procedural ape without hair loss】
Catalog
2、 Build installer (installer)
Use LabVIEW A written program often needs to be taken to the target computer to run , How to transplant the program from the development computer to the target computer ? There are two ways :
1、 Install... On the target computer LabVIEW And related drivers and toolkits , And then vi Or copy the whole project to the target computer . However, installation LabVIEW And various toolkits will be more time-consuming , And vi It can be modified at will , Easy to cause misoperation , If you just run the program , This method is not recommended .
2、 take LabVIEW The program is compiled on the development computer to generate an independent executable program (exe), Then transplant the executable program to the target computer , The transplantation here is divided into two ways :
- The generated exe Copy to the target computer , Then install... Separately on the target computer LabVIEW Run the engine and the required drivers and toolkits , Installing drivers and toolkits in this method also takes a lot of time , Not recommended .
- The generated exe And some used components installer, The installer , Then run the installer on the target computer , After this installation , It was generated before exe、LabVIEW The running engine and other toolkits will be automatically installed on the target computer , This method is relatively simple to transplant , Is the most commonly used method .
There are two points to note before explaining :
1、 Build installer (installer) You have to be an application before (exe).
2、 Program VI The file must be in the project , If it's just a single VI File cannot be generated , You need to create a new project , Import VI file , As shown in the figure below :

1、 Build applications (exe)
The first 1 Step : Open the project , Choose “ Program generation specification ”, Click on the right , choice “ newly build ”, newly build “ Applications EXE”, As shown in the figure below :

The first 2 Step : Fill in the product generation information , Include : Generated name and path , As shown in the figure below :

The first 3 Step : Add source file , In the project VI file , Import into application (exe) Start of VI, As shown in the figure below :

The first 4 Step : Set icon , You can choose to download the material website or design it yourself .ico file , Here I use the icon file downloaded from the material website , As shown in the figure below :

The first 5 Step : Finally, you can click generate preview , View the path and file generated by preview , As shown in the figure below :

The first 6 Step : Build applications (exe), As shown in the figure below :

You can view the generated application in the project file (exe) file , You can also enter the generation path , Look at the relevant files , As shown in the figure below :


Click on “LabVIEW Scientific calculator .exe” file , Can run the application smoothly .

2、 Build installer (installer)
Building applications (exe) The installer can be generated on the basis of (installer) 了 .
The first 1 Step : In project , Choose “ Program generation specification ”, Click on the right , choice “ newly build ”, newly build “ Erection sequence ”, As shown in the figure below :

The first 2 Step : Fill in the product generation information , Include : Generated name and path , As shown in the figure below :

The first 3 Step : choice “ Source file ”, In the project file view, click to select the application build specification you created earlier , Then click the add arrow , Add the application to the destination folder , In the target view on the right, you can see the result of adding , As shown in the figure below :

The first 4 Step : choice “ Shortcut ”, Modify the shortcut name and subdirectory name on the right . The shortcut name corresponds to the name of the shortcut icon you will see in the start menu in the future , The subdirectory corresponds to the folder name where the shortcut is located in the start menu , As shown in the figure below :

The first 5 Step : choice “ Additional installer ”, Check the appropriate LabVIEW Run the engine and necessary drivers, toolkits, etc , Then these drivers and the toolkit will be included in the generated installer in .LabVIEW Some necessary... Will be automatically checked here NI Erection sequence , But it may not contain all the programs that need to be installed , What drivers and toolkits are used in the program at this time , When configuring here, you need to check which toolkits . As shown in the figure below :

The first 6 Step : Finally, generate the installer (installer), As shown in the figure below :

You can view the generated application in the project file (exe) And setup (installer file , You can also enter the generation path , Look at the relevant files , As shown in the figure below :


Click on “LabVIEW Scientific calculator .exe”, Select installation path , It can be installed , As shown in the figure below :

.ico Icon file download website :
iconfont- Alibaba vector icon library
Icon download ,ICON(SVG/PNG/ICO/ICNS) Icon search download - Easyicon
边栏推荐
猜你喜欢
![[untitled]](/img/36/2f9319e05157ab6a8dd5aa3bef4505.png)
[untitled]
![[redis] key hierarchy](/img/ab/a5d3bb61b4571966d0f47037af4f41.png)
[redis] key hierarchy

Wechat applet custom component

Download and installation of MySQL

The thinkphp5.1 runtime file has been changed to 777 permission, but cannot be written

mgalcu-a509

chrome浏览器关闭更新弹窗

Relations EMC, EMI, EMS

正则表达式(?:pattern)

Programmers whose monthly salary is less than 30K must recite the interview stereotype. I'll eat it first
随机推荐
如何用项目甘特图,做好项目汇报
The thinkphp5.1 runtime file has been changed to 777 permission, but cannot be written
KOA Quick Start
Pvcreate ASM disk causes abnormal recovery of ASM disk group - sparing separation
MySQL的下载和安装
Tuples of combined data types
Is it safe to contact the account manager online to open an account for stock speculation?
目标检测——ADAS实战
Prepare for the Blue Bridge Cup - double pointer, BFS
CTFHub-Web-密码口令-弱口令
Handling method of occasional error reporting on overseas equipment
字符串输出
mark
OpenResty 使用介绍
Google Borg paper
They all talk about interviews with big factories. When I interview with small factories, I invite people to drink tea?
Use photoshop2022 to create a wonderful gradient effect for pictures
Use code binding DataGridView control to display tables in program interface
Some tests on complementary wasm environment
温度转换 II