Petra_wait_for_sync_run

petra_wait_for_sync_run()
Returns 1, if PETRA is in the state "Betrieb->Experimente". If not, Online waits for PETRA to enter this state. The wait procedure may be interrupted by "STOP" (online -tki) or by pressing the space bar. In this case the function returns 0. If the wait state ends with "Betrieb->Experimente", Online waits for TIME_HEATUP (or 30) seconds before it returns 1. e.g.:
* = petra_wait_for_sync_run()