SafetyOn Property
Description
Returns status of the Controller's safeguard input.
Syntax
ReadOnly Property SafetyOn As Boolean
Return Value
True if the safeguard is open, False if not.
Remarks
Use the SafetyOn property to obtain the safeguard status when your application starts, then use the SafeguardOpen and SafeguardClose events to update the status.
SafetyOn Example
VB Example:
If m_spel.SafetyOn Then
lblSafeguard.Text = "Safe guard is active"
Else
lblSafeguard.Text = ""
End If
C# Example:
if (m_spel.SafetyOn)
lblSafeguard.Text = "Safe guard is active";
else
lblSafeguard.Text = "";