LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I get a 'Resource not found' error when I deploy my application

Solved!
Go to solution

There's something that's not entirely clear in your explanation.

 

You've been swapping VIs back and forth with a colleague.  It sounds like they're somewhat modular and solve a problem you both have but aren't the entire application for either of you.

 

When they're building, are they building your exact project or integrating the VIs into their project and building that successfully?

0 Kudos
Message 11 of 22
(2,141 Views)

Both actually.  I build a smaller application for just the communication part of the package.  He builds the larger project which includes the data acquisition and task manager, so I provide my part and he has the whole application.  Occasionally, one of us goes on vacation so the other one does the builds required.  So I will get the whole project from him for that time.

 

The problem itself is only on my machine.  He compiles and it can be deployed without issue.

0 Kudos
Message 12 of 22
(2,128 Views)

Hi BluePhantom - Just to clarify, you are using LabVIEW 2014 f1 and DAQmx 17.0.0, and you get this error when you build an exe and try to deploy it on a different computer. Correct?

 

When does it give you this error and does it have an error code? Is it as soon as you try to run the executable on a target machine?

Adena L.
Technical Support Engineer
National Instruments
0 Kudos
Message 13 of 22
(2,121 Views)

I tried to post a reply several days ago, something must have gone wrong.

 

Yes, that is my LabVIEW version, and the DAQmx is the version I went back to.  The error is when I build and deploy to a different PC.  The error comes as soon as I try to run, I get two of these errors before the window appears on the screen, and another after.  The application never comes up as runnable...

0 Kudos
Message 14 of 22
(2,108 Views)

Are your devices still showing up in NI MAX without any errors? What hardware are you using?

Adena L.
Technical Support Engineer
National Instruments
0 Kudos
Message 15 of 22
(2,095 Views)

Yes, everything is showing up.

 

The application is written to use several of CAN cards.  It also uses a digital port and an analog channel as an option.  It has never mattered which multifunction card we used with it.  On my machine I don't even have a multifunction card.  There is one on the target though.

0 Kudos
Message 16 of 22
(2,087 Views)

I know someone posted the article earlier, but can you try including your front panel in the build? It sounds like there is a dependency that has occurred between your project and the front panel that is throwing this error. Even though you don't use the front panels, including them won't change anything about the functionality or user experience, it will just increase the size of your build. Including the front panels should take care of the dependency that is occurring.

 

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P9MgSAK

Adena L.
Technical Support Engineer
National Instruments
0 Kudos
Message 17 of 22
(2,075 Views)
Solution
Accepted by topic author BluePhantom

I just encountered this problem and fixed it by downgrading the DAQmx version of my development PC to match the  DAqmx version of the  PC which is running the EXE.

 

Background: I recently upgraded the Daqmx driver to 17.6.0 and then started seeing this problem while i run the EXE in other PCs, which i never encountered before. Then I found out  that those PCs is having DAQmx 15.1.1 or even lower 9.9.0. Then I tried uninstalling the Daqmx 17.6.0  in my development PC and install a lower Version 15.5.0 instead. Compile the EXE again and then it works in those PC.

 

Hopefully this could help.

0 Kudos
Message 18 of 22
(2,069 Views)

wrote:

I know someone posted the article earlier, but can you try including your front panel in the build? It sounds like there is a dependency that has occurred between your project and the front panel that is throwing this error. Even though you don't use the front panels, including them won't change anything about the functionality or user experience, it will just increase the size of your build. Including the front panels should take care of the dependency that is occurring.

 

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P9MgSAK


I compiled a copy of the project from my coworker, he compiled and tested that version that day with success.  I compiled the same project and got the errors.  I don't see how it can be the project.

 

0 Kudos
Message 19 of 22
(2,055 Views)

wrote:

I just encountered this problem and fixed it by downgrading the DAQmx version of my development PC to match the  DAqmx version of the  PC which is running the EXE.

 

Background: I recently upgraded the Daqmx driver to 17.6.0 and then started seeing this problem while i run the EXE in other PCs, which i never encountered before. Then I found out  that those PCs is having DAQmx 15.1.1 or even lower 9.9.0. Then I tried uninstalling the Daqmx 17.6.0  in my development PC and install a lower Version 15.5.0 instead. Compile the EXE again and then it works in those PC.

 

Hopefully this could help.


I did downgrade to the same version that works for my coworker.  I get errors on that.  If I downgrade any further my hardware that I need to develop the next phase will not work.

0 Kudos
Message 20 of 22
(2,052 Views)