12-18-2013 12:49 PM - edited 12-18-2013 12:51 PM
Hi.
I have a VI and a build specification for it. In the Version Information section of the build specification, I set the version number to auto-increment. I would like to display this version number on an indicator on the front panel of the executable, but I have not found a property that provides this information. Does anybody know how to get the executable version number? I am aware that it is possible to right-click on the .exe file in windows explorer, go to properties and get it that way, but I would like to display it on the VI itself.
On a related topic, I have noticed that only the 'build' field of the version gets auto-incremented. How does the application builder decide when it is time to increment the major, minor and fix fields? Or will it only ever auto-increment the build field and I am supposed to update the other fields manually? (That would actually make sense, but I would like confirmation.)
Thanks in advance,
Alejandro
Solved! Go to Solution.
12-18-2013 12:55 PM
12-18-2013 01:51 PM
I usually keep tis AE in my reuse library.
12-18-2013 03:22 PM
Funny- I thought that would post snippette-wise (Funny doings with the firewall here) Updated to silver
12-19-2013 10:35 AM
Hi.
Thanks for your responses. I ended up doing a hybrid of the 2 solutions offered and got it working. I am surprised that this is so hard to do.
Thanks,
Alejandro
03-12-2014 09:21 AM - edited 03-12-2014 09:35 AM
Unfortunately some of the property nodes/invoke nodes do not exist in Linux version of LabVIEW.
03-12-2014 12:44 PM
I just posted what should be a workable solution for Linux on a similar question. See if this solution works for you. [I'm not sure how to paste a link to it, but this is what shows on the Address Bar when I view my earlier post ...]
http://forums.ni.com/t5/LabVIEW/Determining-the-version-of-an-executable-under-Linux/td-p/957378
Bob Schor