LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW 8.6.1 Executables are not working

Solved!
Go to solution

Hello. I recently tried to build a LabVIEW 8.6.1 application, but when I tried to run the application, I kept getting dialog boxes that are looking for sub-vi's that should have been included in the build. These are all basic VI's that I didn't develop. I do not know why the Application Builder did not put them in, and I don't recall seeing them in my design. I assume they must by the sub-vi's of the ones I did use.

 

This is a licensed copy of LabVIEW 8.6.1. The application builder has no trouble creating the application.exe file, but that file does not work.

 

I know the runtime-engine for 8.6 is working, because I have an application that was built okay. It works fine, so it isn't my Client computer that is the problem. 

 

The application also fails to run on the same PC that it was built on.

 

Can anybody suggest a solution? I have included my design library. The file of interest is at the top level and is called "BTMU Serial Driver".

 

Thanks, Richard V

0 Kudos
Message 1 of 8
(5,053 Views)
Solution
Accepted by topic author rrsquez

Could you provide the names of the VIs that are being looked for? Could you provide the project file that you used to create the exe. The llb (and I sincerely hope you are not actually developing with an llb) tells us nothing either.

 

p.s. You might want to rethink your programming style. Using a single sequence structure is one too many and using local variables the way you have is also bad style. Also, the defaults with creating an exe prevents the user from entering parameters because the default is to run when opened. 

0 Kudos
Message 2 of 8
(5,038 Views)

Hi. Sorry. The filename is: BTMU Set and Read Serial Driver.

 

I inadvertently pressed the "Solution" button. I did not mean to do so. I was only looking for a way to "reply".

 

Thanks, Richard Vasquez

0 Kudos
Message 3 of 8
(5,009 Views)

You can unmark a solution using the Options menu on the right-hand side of the message, right above the Kudos icon.

 

I also don't understand what you're doing. Why did you upload an LLB? Are you actually using this for development, or was it just for distribution? What is the top-level VI? In your first post you indicated  "BTMU Serial Driver", but in the follow-up you're referring to "BTMU Set and Read Serial Driver", which is a VI with a broken arrow. What are you trying to build? Where is the project file?

 

P.S. I also echo Dennis' comments about the poor programming style. 

0 Kudos
Message 4 of 8
(4,997 Views)

Hi. In response to your message. The top level file is:  "BTMU Set and Read Serial Driver"

 

The reason I sent an LLB is that the lower level sub-vi's for this program are located in here as well. Everything this file needs should be in this library.

 

My problem is that LabVIEW is not doing what we pay for it to: "Build An Application". The program runs in the Development Environment, but I can't get the exectuables to work. LabVIEW has no problems building it though. Why?

 

Just try building an application from my vi, then try to run it. You'll see what I mean. You should get a timeout error if it does work correctly because you don't have my hardware. If you get that far, then you've gotten past the problem I have.

 

I recently noticed that in the Project file, under "Dependancies" there's a file called vi.lib. If you click it, you'll see a bunch of LabVIEW core vi's in there. When I try to run the executable, the application opens up a bunch of dialog boxes (one per file) looking for these vi files. Why weren't they included in the build? The Exectuable shouldn't be looking for "vi's". Client machines don't have vi's.

 

As for my programming style: Please don't try to distract this issue. My vi works 100% correctly. It's LabVIEW 8.6.1 that isn't working right, and has nothing at all to do with my programming style. Besides, I don't agree 100% with the NI programming philosophy.

 

I recently made the move from 8.2 to 8.6.1, which I now regret. I think that when people find out your 8.6.1 product doesn't work, they'll be bothering you with this issue more and more. This wasn't a problem in 8.2.

 

Thanks, Richard V

0 Kudos
Message 5 of 8
(4,992 Views)

I created a project file from your .llb.  Built and .exe.  Then ran it.  The only errors I got were either file I/O because I don't have your hardcoded file path, or more commonly serial errors because I don't have a Com1.  But I didn't get any search for subVI errors.

 

The only thing special I did when I built the application was to add BTMU serial driver.vi to the startup VI's.

 

I would recommend doing a little more work with your error handling.  Many of those subVI's don't have proper error handling and cause pop up error dialogs.  Then it is a race to continue the dialog and hit the abort button before the next error dialog pops up again.

Message 6 of 8
(4,987 Views)

I did the same and it ran just fine.

 

You did not include the project as I asked so I suspect you did something wrong there or did not install the correct runtime (all of the missing VIs of yours). Instead of just complaining, maybe next time provide all of the necessary information so that the problem can be accurately diagnosed.

0 Kudos
Message 7 of 8
(4,981 Views)

rrsquez wrote:

I recently made the move from 8.2 to 8.6.1, which I now regret. I think that when people find out your 8.6.1 product doesn't work, they'll be bothering you with this issue more and more. This wasn't a problem in 8.2.


Please be aware that these forums are public forums. 99% of the folks here don't work for NI, and it's not "our" product. That said, it will be much easier to help you if you upload your project so we can see what's going on. The easiest way to do this is to simply zip up your folder that contains all the VIs. I'm assuming it will be of the same size as the LLB you uploaded previously.

 

If you feel that the public forums are not helping you then you should contact NI Tech Support directly. 

0 Kudos
Message 8 of 8
(4,968 Views)