03-04-2010 03:56 PM
It would be helpful if I could programtically retrive the compile/build date of an EXE created with the LabVIEW through a property (maybe invoke?) node. Of course, this would be meaningless during development...Even if it is not an option to retrive this programatically with a property node, perhaps it can be something set when the EXE is built and retrived/displayed when the EXE runs?
I use the date the application is built in an indiacator onscreen with the revision number of the software to indicate revision and build date. Right now I have to manually change this everytime. I don't believe retriving the "modified date" the "File/Directory Info.vi" is safe enough as those file parameters can change.
03-04-2010 03:57 PM
03-05-2010 05:03 PM
Maybe just ship a file with the executable that maintains mappings of each version to the date compiled and read that file when load the .exe
03-18-2010 11:58 AM
Thanks for the suggestion. However, that is just not safe enough. Someone could chagne the file, it may become corrupted, etc...
I found that I can build a VI based off of the help example "Build Targets Programmatically.vi" combined with VI server and property nodes to "hard code" the build date, as well as set values of any other controls at build time.
Thanks though!