取消
显示结果 
搜索替代 
您的意思是: 

Labview project distribution

I want to run a project on a PC  where there is no labview installed(for the first time in my life) . The project runs fine on a PC with labview. Following steps below and getting following errors. Can someone help please? Thanks

Procedure followed- 1)open project ,right click on build specs--new--installer-checked that there was a checkmark in box to include runtime engine

this creates My installer folder with application file named setup application(I dont have administrative access,but did not get any error)

2)open project ,right click on build specs--new-application.  This creates My application folder with application file named application.

now tried to 3)run My installer on the PC (without labview on it) where I want to run the program, ran fine without any error.

4)Ran Application.This gives errors.

 

Errors- searching my application\instr.lib  

When clicked on ignore, it gives me more errors like

Resource not found, An error occured loading vi 'Daqmx wait until done' and then it gives me the same error for multiple vis.

 

Not sure what is going wrong. Any help is appreciated

 

 

0 项奖励
1 条消息(共 15 条)
2,415 次查看

I assume your application is using file from ...\instr.lib .

Have you put those folder as "always included" in your application build? Or did you put just your main VI?

0 项奖励
2 条消息(共 15 条)
2,411 次查看

Normally you build an application, then the installer.

 

The way you describe things, you build an installer before even adding an executable build spec.

 

You have to actually add the executable to the installer, or you get an installer that installs just the run time engine (if that's still possible nowadays).

 

Notice here: Creating Installer - LabVIEW - YouTube for instance, there already is an executable build specification (shown here:Creating Executibles - LabVIEW - YouTube).

 

The steps you described are incorrect, and probably not how you actually did it. If you want us to follow or help, we need every gory detail in the right order... Or upload the project.

3 条消息(共 15 条)
2,396 次查看

Thanks. Will go thro' and let you know. 

The project I am trying to run on another PC (without Labview on it) is a very small project which I want to try first . If successful, I can follow the same procedure for bigger projects  I have ready. I will upload the project but I want to try the procedure myself and see it running. 

0 项奖励
4 条消息(共 15 条)
2,371 次查看

I usually let it decide what additional installers the installer needs.  It sounds like you are missing some drivers or something.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 项奖励
5 条消息(共 15 条)
2,363 次查看

"Errors- searching my application\instr.lib "

That sounds to me like you didn't include DAQmx in the installer? Did you tick "Automatically select recommended installers" in the Additional Installer part of the Installer configuration?

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 项奖励
6 条消息(共 15 条)
2,358 次查看

Thanks everyone for the overwhelming response. This time I paid particular attention to building application first and then installer.

During building installer, I was proceeding with the first screen pic before. Now I an adding my application to the source files as in second pic. When I proceed to this, it gives me error asking for admin rights which is as below . I believe this is normal and I am doing it right this time? In that case I can ask for admin rights and try again.

error.PNG

 

 

 

installer-source files.PNG

installer source files select.PNG

  

0 项奖励
7 条消息(共 15 条)
2,324 次查看

@maccapple wrote:

When I proceed to this, it gives me error asking for admin rights which is as below . I believe this is normal and I am doing it right this time? In that case I can ask for admin rights and try again.


When do you get this error? When you build or when you install?

 

During build, the destination should be somewhere where you have rights. Not Program Files (just to be sure, we can't see what you're doing!). It's not normal if you need admin rights during the build.

 

During installing, you need admin rights to install... This is a Windows thing, and can't be changed in the installer. Totally by design, we don't want to allow a virus to install itself. Even if your account has admin rights, you get a dialog to get elevated rights.

0 项奖励
8 条消息(共 15 条)
2,319 次查看

get this error when I build. sending all the settings . Even if i choose "temp" folder in destination,source files and source files settings,it gives me same error

cfg2.PNG

cfg3.PNG

cfg4.PNG

cfg1.PNG

    

0 项奖励
9 条消息(共 15 条)
2,311 次查看

@maccapple wrote:

get this error when I build. sending all the settings . Even if i choose "temp" folder in destination,source files and source files settings,it gives me same error


During the build, only Installer Destination should be used. The destination folder isn't used until the install.

 

Just to see if it makes a difference, can you try if the build succeeds if you start LabVIEW by right clicking and "run as administrator" (if possible)?

 

An aggressive anti-virus program could make this fail. I've only seen this with FPGA builds, not with executables or installers. Small change, but you can try to add the build directory to the list of scan exceptions (if possible).

0 项奖励
10 条消息(共 15 条)
2,280 次查看