LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

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 Kudos
Message 1 of 15
(1,455 Views)

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 Kudos
Message 2 of 15
(1,451 Views)

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.

Message 3 of 15
(1,436 Views)

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 Kudos
Message 4 of 15
(1,411 Views)

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 Kudos
Message 5 of 15
(1,403 Views)

"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 Kudos
Message 6 of 15
(1,398 Views)

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 Kudos
Message 7 of 15
(1,364 Views)

@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 Kudos
Message 8 of 15
(1,359 Views)

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 Kudos
Message 9 of 15
(1,351 Views)

@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 Kudos
Message 10 of 15
(1,320 Views)