LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

build executable resource not found

Hello,
I am trying to build an executable app to run on another computer. I have been able to build simple test programs (no daq) that work. I am using LabView 8 profession develope system. I am using an example DAQ progam that seems to work  on my develpment computer, but the build generates a series of errors on the target computer (LV8 runtime has been installed and I have ni-daqmx 7.5 and I need legacy for other reasons).
The error reads: Labview: resource not found. An error occurred loading VI 'DAQmx Create AI Channel (sub).vi'.
Labview load error code 3: could not load front panel.

The example I am using is Cont Acq&Graph Voltage - SW Trigger.vi

Any suggestions will be appreciated. Thanks in advance, Randy

0 Kudos
Message 1 of 9
(3,954 Views)

Hi

Basically, if you just build an application and run it on another pc, it presumably won't run. You have to have the LV runtime engine on the target computer as well as the necessary drivers.

I suggest you to create also an installer. There you can select additional installers (like the runtime engine, DAQ and others) to install with your app.

Thomas

Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
Message 2 of 9
(3,946 Views)
Hello, I did as you suggested but I still get errors when I try to run the executable.

The error reads: Labview: resource not found. An error occurred loading VI 'DAQmx Create AI Channel (sub).vi'.
Labview load error code 3: could not load front panel.

The example I am using is Cont Acq&Graph Voltage - SW Trigger.vi



0 Kudos
Message 3 of 9
(3,922 Views)
Forgot to add that I did not include the DAQ installer because it looks like it wants to instal DAQmx 8.1.  As mentioned above I have NI-DAQmx 7.5 and need legacy support.
0 Kudos
Message 4 of 9
(3,921 Views)

Well basically that's no problem. Just download it from NI:

http://digital.ni.com/softlib.nsf/MainPage?ReadForm&node=132010_US

Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 5 of 9
(3,916 Views)
Thanks, but before I do something really dumb. Let me get this straight. I have a measurement studio app that requires legacy support. I am trying to switch to labview 8 but dont want to lose my other apps. It was my reading of the literature that I needed to use ni-daqmx 7.* if I also wanted to retain legacy support via nidaq 7.*  Is this wrong? Thanks, Randy
0 Kudos
Message 6 of 9
(3,912 Views)
Randy,

You can have both the NI-DAQmx driver and the Traditional NI-DAQ (Legacy) driver on the same computer.  The last version of the DAQ driver that packaged both drivers in a single package was 7.4.  However, you can install DAQmx 8.1 and DAQ Traditional 7.4.1 on the same computer.  At this point they are two completely separate drivers and both can be used at the same time (given they are not accessing the same hardware at the same time).  Let me know if you have any additional questions.

Regards,

Neil S.
Applications Engineer
National Instruments
0 Kudos
Message 7 of 9
(3,893 Views)
Thanks, Ill try again on Monday. Maybe I did something wrong the first time I tried to install both DAQmx8.1 and Traditional 7.4.1. What I found was that my Measurement Studio 6 / Visual Studio 6 Basic Apps stopped working with the daqmx8.1 but would tolerate daqmx7.*

Is there an order to the installation? I cant remember but I think I loaded daqmx8.1 after the tradiditonal.

Thanks again, Randy
0 Kudos
Message 8 of 9
(3,888 Views)
It works! I think I was uninstalling the old drivers before I installed the new ones and the ni-daqmx8 does not install the traditional driver the way earlier versions do. When I installed daqmx8 on top of the ni-daqmx 7.* and nidaq traditional, the daqmx was updated to 8.0 and the traditional nidaq was left behind and seems to run all the old programs.

Thanks everyone for the help.
0 Kudos
Message 9 of 9
(3,867 Views)