VeriStand .NET API Reference

IProject.Connect Method (Boolean)

Connects an NI VeriStand project on the host computer to the target. This method only establishes a connection to a target. It does not deploy the system definition file. Use Deploy to deploy a system definition file to the target.

This method includes the option to display a connection progress dialog.

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 Connect ( _
	show_progress As Boolean _
) As Error
C#
Error Connect(
	bool show_progress
)
Visual C++
Error^ Connect(
	bool show_progress
)

Parameters

show_progress
Type: System.Boolean
Specifies whether to display a progress dialog while connecting.

Return Value

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

See Also