Example

Dim lsxECLOIAObj as new lsxECLOIA("A") 
 
if (lsxECLOIAObj.WaitForSystemAvailable(10000)) then
MessageBox("System Available")
else
MessageBox("Timeout Occurred")
end if