VeriStand .NET API Reference

IWorkspace2.ConnectToSystem Method (String, DeployOptions)

Connects the VeriStand Gateway to one or more targets running the system definition file you specify.

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 ConnectToSystem ( _
	systemdefinition_file_path As String, _
	options As DeployOptions _
) As Error
C#
Error ConnectToSystem(
	string systemdefinition_file_path,
	DeployOptions options
)
Visual C++
Error^ ConnectToSystem(
	String^ systemdefinition_file_path, 
	DeployOptions^ options
)

Parameters

systemdefinition_file_path
Type: System.String
The path to the system definition file that is running on the target(s).
options
Type: NationalInstruments.VeriStand.ClientAPI.DeployOptions
Data structure to specify all other deploy options like the calibration file, timeout, etc.

Return Value

Returns an Error object. If no error occurs, the Code property of the Error object is 0.

See Also

Log in to get a better experience