CP6100 I/O Process Programming Manual

CPTEST
WAIT Command
Examples
1. In this example, you instruct CPTEST to wait for completion
of an asynchronous request or a SENDNW request before issuing
the prompt:
~WAIT for RESP
2. In this example, you instruct CPTEST to wait up to 3 tics
(3/100ths second) for a response before issuing the prompt:
~WAIT 3
3. This example illustrates the default condition for the WAIT
command. CPTEST waits five minutes or for completion of any
request (whichever comes first) before issuing the prompt:
~WAIT
4. This example illustrates a common use of the WAIT command, in
which you specify a wait after entering a number of SENDNW
requests. CPTEST issues the three requests and then waits
either two seconds (200 tics) or for completion of any
request before continuing:
~SENDNW 45, 00, F1
~SENDNW #192, %177, F0
~SENDNW 05, 00, 01
~WAIT 200
B-28