Update TestStand Database Location During Execution

Updated May 18, 2018

Reported In


  • TestStand

Issue Details

I have a TestStand application that logs data to a database using a custom schema. I would like to change the database file that I am logging to in the middle of the application. Is there a way to do this?


The LogtoDatabase sequence callback automates the process of logging data. In order to change the functionality, you must override this callback to point to another database under the desired circumstances. Refer to this example for instructions on how to override this functionality.

Additional Information

One possible application for this would be to create a new database file when an old one gets full. Normally, these files cannot be moved or renamed. However, overriding the callback would allow you to close the reference to the database, move the file, or create a new database file and point the logging feature to that file.


Not Helpful