Specifying the Configuration File Location
- 更新时间2025-07-23
- 阅读时长1分钟
The default value of the ApplicationMgr.ConfigFilePath property is %TestStandLocalAppData%\UserInterface.xml, in which %TestStandLocalAppData% is a macro that expands to a directory to which the currently logged-in user has permission to write files. The directory is typically <User Directory>\AppData\Local\National Instruments\TestStand on Microsoft Windows 10/8.1/7. Set the ApplicationMgr.ConfigFilePath property before the application calls the ApplicationMgr.Start method to change the configuration file location.
When you specify a relative file path or just a filename, the file location is relative to the directory that contains the application. When users who do not have Windows administrator privileges can run the application, you must store the configuration file in a location to which users have permission to write files.