The following diagram illustrates the general sequence of FEPI commands that you use with key stroke and screen-image data. That is, a FEPI SEND, multiple FEPI RECEIVES that complete when all the data has been received, followed by another FEPI SEND.