VeriStand .NET API Reference

IModelManager2.UpdateParametersFromFile Method

Updates a set of model parameters using parameter values stored in a set of files.

Namespace: NationalInstruments.VeriStand.ClientAPI
Assembly: NationalInstruments.VeriStand.ClientAPI (in NationalInstruments.VeriStand.ClientAPI.dll) Version: 2013.0.0.0 (2013.0.0.0)
Visual Basic (Declaration)
Function UpdateParametersFromFile ( _
	target As String, _
	parameter_files As String() _
) As Error
C#
Error UpdateParametersFromFile(
	string target,
	string[] parameter_files
)
Visual C++
Error^ UpdateParametersFromFile(
	String^ target, 
	array<String^>^ parameter_files
)

Parameters

target
Type: System.String
The name of the target to query. This parameter expects the name of the target as specified in the system definition file. For example: Controller
parameter_files
Type: System.String
The paths to the files that contain the new parameter values.

Return Value

Returns an Error object. This method returns ComponentNotAvailable if the current configuration does not support parameter configuration. If no error occurs, the Code property of the Error object is 0.

See Also