VeriStand .NET API Reference

Factory.GetIProject Method (String, String, String, String)

Gets the IProject interface, which you can use to interact with an NI VeriStand project. You can open, deploy, run, close, and undeploy the project, open the Workspace window or a tool, and send messages to specific tools.

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)
Public Function GetIProject ( _
	gateway_ip_address As String, _
	project_path As String, _
	username As String, _
	password As String _
) As IProject
C#
public IProject GetIProject(
	string gateway_ip_address,
	string project_path,
	string username,
	string password
)
Visual C++
public:
IProject^ GetIProject(
	String^ gateway_ip_address, 
	String^ project_path, 
	String^ username, 
	String^ password
)

Parameters

gateway_ip_address
Type: System.String
Specifies the IP address of the VeriStand Gateway
project_path
Type: System.String
Specifies the path to the NI VeriStand project with which to interact.
username
Type: System.String
Specifies the user name to use to access the NI VeriStand project.
password
Type: System.String
Specifies the password associated with the username you enter.

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