‎2006 Oct 23 11:25 PM
i want to give a time delay of 250 nicroseconds.could u kindly give me a code for this.
‎2006 Oct 23 11:28 PM
Hi,
Use the command WAIT UP TO..
Example..
WAIT UP TO '0.01' SECONDS.
Thanks,
Naren
‎2006 Oct 23 11:28 PM
Hi,
Use the command WAIT UP TO..
Example..
WAIT UP TO '0.01' SECONDS.
Thanks,
Naren
‎2006 Oct 23 11:37 PM
You can try:
WAIT UP TO X SECONDS.But since X is interpreted as an integer, I don't think it'll work with microseconds. Try:
REPORT ztest MESSAGE-ID 00.
DATA: start TYPE i,
end TYPE i,
dif TYPE i.
GET RUN TIME FIELD start.
WAIT UP TO '0.4' SECONDS.
GET RUN TIME FIELD end.
dif = end - start.
WRITE: /001 'Time for 0.4 second delay', dif, 'microseconds'.
GET RUN TIME FIELD start.
WAIT UP TO '0.5' SECONDS.
GET RUN TIME FIELD end.
dif = end - start.
WRITE: /001 'Time for 0.5 second delay', dif, 'microseconds'.Rob
Message was edited by: Rob Burbank