LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

compile date

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.

0 Kudos
Message 1 of 4
(2,823 Views)
Meant to post this to the LabVIEW Idea Exchange. Sorry!
0 Kudos
Message 2 of 4
(2,822 Views)

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

National Instruments
0 Kudos
Message 3 of 4
(2,789 Views)

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!

0 Kudos
Message 4 of 4
(2,721 Views)