VeriStand .NET API Reference

IWorkspace Members

The IWorkspace type exposes the following members.

NameDescription
GetAliasList Gets all the aliases defined for channels in the system, and the channels to which each alias corresponds.
GetChannelVectorValues Gets the vector values of a channel on the target.
GetEngineState This method is deprecated in NI VeriStand 2010 and later. Use the GetSystemState method instead.

Returns the current state of the VeriStand Engine.

GetMultipleChannelValues Gets the values of multiple scalar channels running on the target. To get the values of vector channels, use the GetChannelVectorValues method.
GetMultipleSystemNodesData Gets information about multiple nodes in the system definition file.
GetSingleChannelValue Gets the value of a single channel on the target.
GetSystemNodeChannelList Gets a list of all the channels under the nodeName you specify. This method performs a recursive search.
GetSystemNodeChildren Gets all child nodes, including channels, of the nodeName you specify. This method does not perform a recursive search. You can use the GetSystemNodeChannelList to perform a recursive search of all the channels under a specified node.
LockWorkspaceFile This method is deprecated in NI VeriStand 2010 and later. Use the LockConnection method instead.

Locks a running workspace configuration so that a user must provide a password to stop running the configuration. The configuration must be running when you call this method. If the configuration has an existing password, you must provide the password to the old_password parameter in order to set the new password.

RunWorkspaceFile This method is deprecated in NI VeriStand 2010 and later. Use the ConnectToSystem method instead.

Runs the workspace configuration you specify. If a configuration is already running when you call this method, the method returns an error.

SetChannelVectorValues Sets the vector values of a channel on the target.
SetMultipleChannelValues Sets the values of multiple channels on the target.
SetSingleChannelValue Sets the value of a single channel on the target.
StopWorkspaceFile This method is deprecated in NI VeriStand 2010 and later. Use the DisconnectFromSystem method instead.

Stops running the current configuration.

UnlockWorkspaceFile This method is deprecated in NI VeriStand 2010 and later. Use the UnlockConnection method of the IWorkspace2 interface instead.

Unlocks the currently running workspace configuration.

Events

NameDescription
OnSystemStateChange Callback invoked when a system state changes.

See Also

Log in to get a better experience