VeriStand .NET API Reference

IProject Members

The IProject type exposes the following members.

NameDescription
Close Closes an NI VeriStand project along with the Workspace window and any Workspace tools.
CloseWorkspace Closes the Workspace window.
Connect
Overloaded. 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.
Deploy
Overloaded. Deploys the system definition file associated with an NI VeriStand project to the target.
Disconnect Disconnects an NI VeriStand project from the target. This method does not stop execution of the system definition file on the target. If you want to stop execution, use Undeploy.
OpenTool Opens a Workspace tool for an NI VeriStand project.
OpenWorkspace Opens the Workspace window for an NI VeriStand project.
Quit Sends a message to NI VeriStand to quit the project and application. When you call this method, the project disconnects from any targets to which it is connected, closes all tools including the Workspace window, and shuts down. Then NI VeriStand quits completely.
Run
Overloaded. Runs an NI VeriStand project.
SendToolMessage
Overloaded. Sends a message or command to a Workspace tool for an NI VeriStand project, as well as data required by the case that handles the command. You can use this method with any Workspace tool that registers to receive the command you specify.

This instance sends data to a tool as a byte array of 8-bit unsigned integer values. You also can use the other instance of SendToolMessage to send data as a string of human-readable characters.

Undeploy Undeploys the system definition file associated with an NI VeriStand project from the target. Undeploying the system definition file stops execution on the target. If you want to disconnect from the target without stopping system definition file execution, use Disconnect.

Properties

NameDescription
Visible Gets or sets the visible state of the NI VeriStand Project Explorer window.

See Also