The short answer: Insert a Time Delay function, found in the Timing palette. Be sure to wire the error clusters so that you can skip the wait if your scanning generates an error.
The long answer: The state machine architecture will require you to recode your implementation, but ultimately give you a more robust architecture. You will need to have a wait state, as mentioned. Whether or not this wait state should wait the full 5 seconds or wait a short amount of time and you come back to it until the full 5 seconds are up depends on the rest of your application and how sensitive you are to something happening within those 5 seconds.
Message Edited by smercurio_fc on
06-25-2008 10:21 AM