You can add a shift register on the while loop to control the timeout condition that gets initialized to 0 (no delay) and then overwritten with -1 (infinite wait) after the first iteration.
Thank you for your feedback.
You changed your response to Not Helpful
You changed your response to Helpful
Collaborate with other users in our discussion forums
A valid service agreement may be required, and support options vary by country.