Programmer's Guide
RaDeKL Radar API Programmer’s Guide 15
© Multispectral Solutions, Inc. 2006
RaDeKL_FlushIO
Flushes (purges) the transmit and receive buffers on the USB port the radar is connected to. Note that this
does not necessarily flush the data on the FPGA radar processor chip ports. This function is intended only
to flush the data waiting on the USB chip ports. To properly reset the RaDeKL radar device, use
RaDeKL_ResetRadar instead.
Format:
ULONG RaDeKL_FlushIO (RaDeKL_HANDLE handle);
Parameters:
handle RaDeKL_HANDLE as returned by a call to RaDeKL_OpenRadar.
Return Value:
RADEKL_OK (0) if successful, a non-zero status otherwise. See RaDeKL_GetStatusText for codes.
Example:
Flush the USB transmit and receive ports.
ULONG status;
RaDeKL_HANDLE handle;
// Assume we have an open radar with a valid handle
status = RaDeKL_FlushIO (handle);
// Check status . . .