Skip to content

Runtime Configuration Manager

Kishor Basavaraju edited this page Oct 23, 2025 · 4 revisions

Runtime Configuration Manager Interface

Interface to manage configurations that can be modified at runtime without the need to undeploy.

Class: IRuntimeConfigurationManager

Namespace: NationalInstruments.VeriStand.ClientAPI

ApplyConfigurationToCustomDevice

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.

RemoveConfigurationFromCustomDevice

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.

Example

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