-
Notifications
You must be signed in to change notification settings - Fork 0
Runtime Configuration Manager
Interface to manage configurations that can be modified at runtime without the need to undeploy.
Class: IRuntimeConfigurationManager
Namespace: NationalInstruments.VeriStand.ClientAPI
Applies the configuration from the configurationFilePath to the runtime configurable section specified by runtimeConfigurableSectionPath.
Note: This method removes any previously applied configuration from the specified section before applying the new one.
Parameters:
| Parameter name | Description |
|---|---|
runtimeConfigurableSectionPath |
Path to the Custom Device's runtime configurable section |
configurationFilePath |
Path to the file containing the runtime configuration |
Returns: Returns an Error object. If no error occurs, the Code property of the Error object is 0.
Removes the configurations from the specified section.
Parameters:
| Parameter name | Description |
|---|---|
runtimeConfigurableSectionPath |
Path to the Custom Device's runtime configurable section |
Returns: Returns an Error object. If no error occurs, the Code property of the Error object is 0.
Please refer to the example .NET project that demonstrates the usage of the runtime configuration APIs corresponding to the Runtime Configuration Support Example.
The System Definition File and Runtime Configuration Files used in the example can be found in Assets folder. The instance of Custom Device Example is already inserted and configured in the RuntimeConfiguationDemo.nivssdf.
Parent topic: Reconfigure parts of your custom device in a running VeriStand system without the need to undeploy