Forces a write all buffered data for the FIFO and waits for completion.
Sub Flush()
Flush();
None.
The method may throw exception. Refer to Handle errors sample for details.