How to Get Last Build Date and Revision Number of a Real-Time Executable Once It Has Been Deployed

Updated Jul 12, 2018

Reported In


  • PXIe-8820


  • LabVIEW
  • LabVIEW Real-Time Module

Issue Details

I have a Real-Time (RT) application that I want to deploy to my RT controller (cRIO, PXI, Real-Time cDAQ). Is there a way that I can get the last build date and/or revision number of the executable after its been deployed?


Once the RT executable has been deployed, there's no programmatic way to get that information without doing one of the following:
  1. Use Application Components to Deploy LabVIEW Real-Time Applications to create a component definition file which is then read using LabVIEW. There is a great NI Example Program which shows how to retrieve the version number of your RT executable after you create the component definition file.
  2. Create your own configuration file programmatically, with the information you'd like to have about the RT executable, and reading and writing that when you'd like. The benefit of this is that you would have full control of the file, and wouldn't need to parse through a file generated by LabVIEW, since you would know exactly where everything is located in the file, and you would choose the location. 


Not Helpful