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.
Note: If you like to run this logic in a WebVI in LabVIEW NXG in order to execute it well you will need to set the timeout condition that gets initialized to 1.
If you set it to 0 the event structures don't get triggered.
Collaborate with other users in our discussion forums
A valid service agreement may be required, and support options vary by country.