LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Running DAQ-9188 with LV13 runs great on developing machine not on target machine

Hi

Running DAQ-9188 with LV13 runs great on developing machine, built exe, transferred to new machine and I cannot get the values to update. Front panel opens everything looks good but no updated values, and no errors. Can someone help?  Thanks.

0 Kudos
Message 1 of 22
(3,610 Views)
What did you include in the installer that you created? Did you get all of the drivers and the runtime engine?
0 Kudos
Message 2 of 22
(3,604 Views)

I was prompted to download the runtime and did that. Exe. would not open until that was downloaded. Drivers, not sure what I need, this is my first time making exe with LV13 and first time using DAQ-9188.

0 Kudos
Message 3 of 22
(3,595 Views)

OK those are definatly first timer build errors.  we can help out.

 

YOU NEED an installer!  what that does is look into the exe (or whatever build you are installing) and gathers up all those other things the application needs to run. like Divers (You'll surely need NI-DAQ stuff) and RTEs  In 2013 "Additional installers" are automatically detected.

 

Warning: DO double check the DAQmx stuff and make sure it is selected.  (There have been sporadic reports that sometimes they may get skipped but it isn't necessarilly reproducable)

 

The Help button on the installer properties pages is your best friend on a first time deployment.


"Should be" isn't "Is" -Jay
0 Kudos
Message 4 of 22
(3,593 Views)

Okay, where is the installer? I have made exe in LV12 (not using DAQ-9188) and just hit the Build button and put the exe on new machine after installing driver DVD. I know I missing something just don’t know what.

0 Kudos
Message 5 of 22
(3,585 Views)
In the project, when you selected the option to build an exe, you should have seen the option to create a new installer. More information is in the help.
0 Kudos
Message 6 of 22
(3,581 Views)

Sorry, but I see nothing about an installer. I am building this from a vi not a project if that matters.  

0 Kudos
Message 7 of 22
(3,570 Views)
You have to be using a project if you are using 8.0 or greater.
0 Kudos
Message 8 of 22
(3,567 Views)

Firstly USE PROJECTS!

When you create an exe from a vi (Don't) it places the vi in a new lvproj file.  open that project not the vi. 


"Should be" isn't "Is" -Jay
0 Kudos
Message 9 of 22
(3,559 Views)

Looks like others are pointing you in the right direction let me just add a few things.

 

You must have a project to build an EXE.  You add VIs to the project and then under the Build Specifications in the project you can right click and create a new EXE build.  Here you must specify what the top level VI is which is the thing that gets ran when you run the EXE.

 

After that you need to make an installer.  To do this go back to the project, and right click Build Specifications but this time make a build for the Installer.  Here you need to say what things to include in the installer.  You can choose to include the EXE you built earlier.  In addition to that under the "Additional Installers" section you can choose to add other installers.  The default one selected will be the run-time engine.  That thing you went and downloaded.  

 

Other things you'll need depend on what is in your EXE.  Did you use DAQmx?  Then you'll need to include it in the additional installers.  Did you use XNET?  Include it.  Did you use Report Generation? Internet Connectivity Toolkit?  Vision?  VISA?  etc.

 

It is some times hard to know what to include that's why in 2013 NI added a feature to try to can for things you used and include them.

 

Including these things will balloon the installer.  Expect several GBs for the installer if you used DAQmx and other things.  Once these are installed on a new machine you can make an update installer that doesn't include these things, and just includes the updated EXE.

0 Kudos
Message 10 of 22
(3,556 Views)