VeriStand .NET API Reference

IChannelFault.ClearFault Method

Clears the software fault from a specified channel.

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 ClearFault ( _
	channelName As String _
) As Error
C#
Error ClearFault(
	string channelName
)
Visual C++
Error^ ClearFault(
	String^ channelName
)

Parameters

channelName
Type: System.String
The channel from which to clear the fault. You must enter the full path to the channel, for example:

Targets/Controller/Simulation Models/Models/delay_random/Inports/In1

Return Value

Returns an Error object. If the software faulting component is not available or the channel is not faultable, the Code property of the Error object contains an error number. If no error occurs, the Code property of the Error object is 0.

See Also

Log in to get a better experience