VeriStand .NET API Reference

CustomDeviceSection.AddErrorChannel Method

Adds an error channel to the custom device. An asynchronous custom device can send a fatal error status to the Primary Control Loop of the VeriStand Engine by writing a non-zero error code value to this channel.

Namespace: NationalInstruments.VeriStand.SystemDefinitionAPI
Assembly: NationalInstruments.VeriStand.SystemDefinitionAPI (in NationalInstruments.VeriStand.SystemDefinitionAPI.dll) Version: 2013.0.0.0 (2013.0.0.0)
Visual Basic (Declaration)
Public Function AddErrorChannel ( _
	name As String _
) As CustomDeviceChannel
C#
public CustomDeviceChannel AddErrorChannel(
	string name
)
Visual C++
public:
CustomDeviceChannel^ AddErrorChannel(
	String^ name
)

Parameters

name
Type: System.String
The name of the error channel. This can be any string. If the name you specify already exists, this method takes no action and returns a reference to the existing channel.

Return Value

The CustomDeviceChannel reference for the error channel.

See Also

Log in to get a better experience