Wait for Condition¶
Description¶
Wait until a condition becomes true or a timeout occurs. If the wait times out before the condition becomes true, issue an error message and (optionally) stop the experiment.
Signature¶
action/wait_for_condition
Optional Parameters¶
timeout_message¶
Error message to report if the wait times out. If omitted, a default message is used.
Placement¶
Allowed at top level: | No |
---|---|
Allowed parent: | Block, Conditionally Execute Actions (if), List, Protocol, Repeat Actions (while), Schedule Actions, Task System State, Trial, Unconditionally Execute Actions (else), Variable |