LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

application builder vi does nothing

OK.  Found the error...  That said, not sure how to fix it.

 

File Ref Error.jpg

 

(attached also if this is too small)

 

So it looks like VI reference error, although I am not sure on the how or why?

 

0 Kudos
Message 11 of 21
(941 Views)

yes you do----- relative pathsSmiley Wink  Nice work!


"Should be" isn't "Is" -Jay
0 Kudos
Message 12 of 21
(933 Views)

I guess I am feeling a little bit dense today.  I see where the default data directory function may cause an error here, so I can fix that to save into the data file in the directory for this application in program files...

 

But why am I getting an invalid reference from the VI Property node for the name?

 

 

0 Kudos
Message 13 of 21
(925 Views)

The path where the config file is saved has nothing to do with the error here. I don't know why you're getting that error, as it works just find on my computer. I built the app based on your build spec (see below for additional comments) and even the installer, and the app worked just fine. So, something else is going on. Not sure what yet.

 

  • You do have a problem with paths, though. You have a big NO-NO, especially in what appears to be an application that's intended to be distributed to what I assume is a customer. You have hard-coded paths pointing to the login of the laptop. BIG PROBLEM.
  • You do not need all to put all those files in the "always include" list in the build spec. That's intended for dynamic VI, which you have none. As long as you have the top-level VI then all statically linked VIs and controls are automatically added. This is explicitly explained in the LabVIEW Help.
Message 14 of 21
(917 Views)

Thanks smercurio. 

 

I definitely will be distributing this, technically the distribution is to fellow co-workers, but they are customers too.

 

I will definitely review the paths and the build spec items.  I did read the help, but the first read was a little overwhelming, so I clearly missed a few items.

 

I wonder if maybe one of those other hard coded paths is causing my issues.  Like I said, the app loads fine, but as you update fields, the queue output is always null from what I can see.

 

Thanks for all the help!

0 Kudos
Message 15 of 21
(910 Views)

@krwlz101 wrote:

I wonder if maybe one of those other hard coded paths is causing my issues.  Like I said, the app loads fine, but as you update fields, the queue output is always null from what I can see.


I thought your issue was with the error from the property node. I just checked to make sure the colors would load when you quit and restarted the app. Are you having other issues?

0 Kudos
Message 16 of 21
(900 Views)

Well,

 

The problem is that nothing executes.  When I found that error I thought that maybe it was causing my issues.  as I change the values in any tab, it should be recalcuating, but my QSM just stays at "Null" all the time.

0 Kudos
Message 17 of 21
(884 Views)

The most likely issue is that the error that's being generated out of the VI that's reading the configuration information. That error is being passed into your loops and into your queue VIs. Since they see an error in, they don't execute.

 

As I indicated, I have no idea why that VI is generating an error, and unfortunately right now I'm really bust on trying to get something done at work, so I don't think I'm going to have time to look at this. Maybe someone else may be able to take a crack at it.

0 Kudos
Message 18 of 21
(878 Views)

I thank you very much for the time you've put in.  I have no problem at all with troubleshooting the issue, but I am very glad to hear that the source of the problem is likely pin pointed.

 

 

 

 

0 Kudos
Message 19 of 21
(871 Views)

Finally got some time to play with this today, and I must say that this is getting frustrating.

 

Build Path Snipet.png

I changed my path to be relative, as above, although I am not sure this works once the VI gets built?

 

Also, when debugging the app, the read from speadsheet file vis show up as not found.  I am thoroughly confused.

0 Kudos
Message 20 of 21
(862 Views)