Receiving an Empty File When Generating Custom Usage Logs in NI VLM

Updated May 21, 2025

Issue Details

Solution

This error could be occurring due to the following reasons: 

  • If using only Disconnected Licenses, the Usage Log is expected to be empty.
  • The NI VLM application is still running in the background.
  • The commands have a typographical error.
  • The range of dates is out of the server’s operating period.
  • The .txt file is still in the process of being generated.
  • The quantity of information is exceeding the processing capacity. 


To fix this issue you can try the following: 

  • Check whether NI VLM is only using Disconnected Licenses. These do not appear in the custom Usage Log.
  • Verify that the NI VLM application is closed. Even if you close the application, the NI Volume License Server will keep running in the background, which will not affect the functionality of the software.
  • Make sure you are typing the right commands by following the structure explained in the article How Can I Export a Usage Log in NI VLM 3.1 to Generate Custom Reports as shown below.

"C:\Program Files (x86)\National Instruments\Volume License Manager\nivlm.exe" /CreateLegacyUsageLogPath “<path>” [/startDate YYYY-MM-DD] [/endDate YYYY-MM-DD]
 

  • Before generating the log file, verify that the range of dates contains information, be aware that if there is no data, the file will be generated empty.
  • Note that the generation process of the log files is directly related to the amount of server’s information as well as the capabilities of the computer, therefore, it could take a while to be completely generated. You should be able to check if the computer is still working on this by opening the task manager and verifying that the NI VLM application is running in the background.
  • Sometimes the process could exceed the capabilities of the computer, generating an empty or 1 kb file as a result. We recommend splitting up the reports if the server has a huge volume of information, i.e., generating quarterly instead of annual reports.