02-02-2009 11:50 AM
We have some LabVIEW code that is built into an .exe/installer and it has an indicator that shows the date it was built and the revision number for that build. Currently, we have to manually set the date and revision number each time we build the program. I don't think the way we do our revision scheme can be automated with LabVIEW during the build of the installer or .exe file. However, it seems like there should be a way to incorporate the build date into my code from the build process. Is there such a thing? If not, does anyone have any suggestions for automatically including a build date into the LabVIEW code so that I do not have to remember to do this manually each time?
Thanks in advance.
02-03-2009 05:10 AM
02-03-2009 06:42 AM
I would love to see some dynamic entries into the builds, but currently, it's not available. (I would like to see in the version information major.minor.fix.sourcecodecontrolrevision)
I would go with the created date, instead of the last modified. people could change the extension, then change it back and fudge the modified date.
02-03-2009 07:03 AM - edited 02-03-2009 07:07 AM
I can't remember where I found these, so I cannot give due credit, but these VIs will give file info. If you point these to your exe file then you can get the file version etc.
EDIT: If you leave the path blank, then it follows the call chain to the app. In development this will point to LabVIEW, but in a compiled exe it will be your app.
02-03-2009 08:52 AM - edited 02-03-2009 08:56 AM
02-04-2009 04:10 AM