LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

runtime engine 2009

Hi I just upgraded from Labview 7.1 to Labview 2009.  I have a simple interface using a USB-6501 DIO interface to toggle some TTL lines.  The VI runs fine but when I go to build an installer I can't seem to get the runtime engine to install on the other computer.  I made sure the runtime engine was selected on the installer along with DAQmx 8.9.5 and created my installer.  When I run the setup.exe on my other computer everything seems to install fine, but the runtime engine doesn't seem to be there, but DAQmx is intalled correctly.  When I open my VI Labview 7.1 tries to open it because the runtime engine isn't there.  I checked in the control panel with add/remove programs and don't see runtime engine 2009.  Anyone know how to fix this?  I don't want to manually install runtime engine 2009 on each computer I need to run my code on.
0 Kudos
Message 1 of 15
(4,223 Views)
I think you may be misunderstanding what the Runtime Engine is for. That's for running applications, not opening VIs. Are you actually building an app? If you're trying to open the VI on the other computer then you need the development environment, not the Runtime Engine.
Message 2 of 15
(4,202 Views)
smercurio is right. The run-time allows you to run executables built with LabVIEW on other machines, not plain VIs.
Jeff | LabVIEW Software Engineer
0 Kudos
Message 3 of 15
(4,168 Views)
Yes thank you everyone.  I think my understanding of what the installer does was wrong.  I thought the installer would install all the neccessary drivers and create and executable so everything can be installed and ran off one build.
0 Kudos
Message 4 of 15
(4,159 Views)

An installer will do all of that. You have to make sure that all of the drivers are selected when you create it though. You have to go to the Additional Installers page and check which ones to include.

0 Kudos
Message 5 of 15
(4,149 Views)

tct1375 wrote:
I thought the installer would install all the neccessary drivers and create and executable so everything can be installed and ran off one build.

One clarification in this: the installer won't actually create the executable. You have to do that separately. The installer will simply install the executable, along with whatever drivers you've selected, and the LabVIEW Runtime Engine (if you select it) so the app will run on a computer that has no LabVIEW on it. 

0 Kudos
Message 6 of 15
(4,145 Views)
Ok so just to clarify, I create an executable and attach it as a source file in the installer correct?  I was struggling the other day with errors when adding additional installers, but I been able to get around that for now.  Some reason when I do a full install of DAQmx 8.9.5 I get errors, but when I do a runtime 5 instead it doesn't give me errors, I believe it might be looking for some documentation files that isn't there.  Different issue I will look at later.
0 Kudos
Message 7 of 15
(4,134 Views)

Hi tct1375,

 

You should be able to include the exe in source, yes. Then in additional installers you select the drivers you need to include.

 

What errors are you seeing? Is it at build, install, or run of the executable?

Jeff | LabVIEW Software Engineer
0 Kudos
Message 8 of 15
(4,114 Views)

During the build of an installer if I add a full DAQmx 8.9.5 install, I get errors.  Seems it can't find some files.  I have already uninstalled all previous versions of DAQmx and reinstalled the latest but I still get the error.  I found if I select a Runtime 5 instead of a full install it works and I don't get any errors. Here is a copy of the errors.

 

CDK_CreateNewWizard_Invoke.vi.ProxyCaller >> CDK_CreateNewWizard_Invoke.vi >> CDK_InstallerConfiguration_Editor.vi >> CDK_Build_Invoke.vi >> CDK_Engine_Main.vi >> CDK_Engine_Build.vi >> NI_MDF.lvlib:MDFDistCopyList_CopyItem.vi


Loading product deployment information
Loading product deployment information
Loading product deployment information
Loading product deployment information
Adding files to installer
Done adding files
Preparing to build deployment
Copying products from distributions
Copying distribution 'NI-DAQ 8.0.1' from: C:\LV_Code\Driver\8.0.1\ to: C:\Documents and Settings\All Users\Application Data\National Instruments\MDF\ProductCache\
 
**************
*** Error: Windows SDK function returned an error. (Error code -12)
The system cannot find the file specified.

*** End Error Report
**************
 

I am not sure if the problem is related with 8.0.1 or not and why it is even lookingfor it, but like I said I have un-installed all previous versions and installed the latest.

 

0 Kudos
Message 9 of 15
(4,106 Views)

Which OS are you using? Is it Vista x64 by any chance?

Jeff | LabVIEW Software Engineer
0 Kudos
Message 10 of 15
(4,070 Views)