ErrorOn Property

Description
Returns True if a critical error has occurred in the Controller.

Syntax
ReadOnly Property ErrorOn As Boolean

Return value
True if the Controller is in the error state, False if not.

Remarks
When the Controller is in the error state, the ErrorOn property returns True, and you can retrieve the error code by using the ErrorCode property.

See Also
ErrorCode Property

ErrorOn Example
VB Example:

If m_spel.ErrorOn Then  
    m_spel.Reset  
End If  
  
C# Example:  
if (m_spel.ErrorOn)  
    m_spel.Reset();