Incorporating Backend Plugins into the Battery Test System Web UI
- Updated2024-10-31
- 1 minute(s) read
Incorporating Backend Plugins into the Battery Test System Web UI
Once you have developed a backend plugin for the Battery Test System Web UI, you need to build a class library .dll and place the .dll in the correct location for the Web UI to uptake the new functionality.
-
Develop the plugin to perform the functionality you want to implement.
Note For singleton backend plugins, set the priority of your new plugin with Weight. The default priority for any default backend plugin interface is 0.5. NI recommends using the range [0, 1] for priority. Higher values correspond to higher priority.
- Build a .dll for the plugin.
- (Windows only) Copy the .dll to %Public%\Public Documents\National Instruments\Battery Test System\WebApplication\Backend Plugins on the BTS Server to register the plugin.
- (Windows only) Restart the BTS Web UI service by opening the Windows Services Manager, selecting NI Battery Test System Web Server, and clicking Restart the service.
Related Information
- Backend Plugin Interface Reference for the Battery Test System Web UI
The Web UI includes a set of interfaces for modifying specific functionality for your battery test application.
- Use of Priority for Singleton Backend Plugins
Singleton backend plugins allow only a single instance of the plugin to run. As a result, you must set the priority of a singleton backend plugin to determine which instance the Web UI chooses.