TW Method
Description
Returns the status of the WAIT condition and WAIT timer interval.
Syntax
Function TW () As Boolean
Return Value
True if a timeout occurred, False if not.
See Also
WaitMem Method, WaitSw Method
TW Example
VB Example:
Const PartPresent = 1
m_spel.WaitSw(PartPresent, True, 5)
If m_spel.TW() Then
MsgBox "Part present time out occurred"
End If
C# Example:
const int PartPresent = 1;
m_spel.WaitSw(PartPresent, True, 5);
if (m_spel.TW())
MessageBox.Show("Part present time out occurred");
← TrapStop Method U →