Programmer's Guide
RaDeKL Radar API Programmer’s Guide 14
© Multispectral Solutions, Inc. 2006
RaDeKL_ResetRadar
Perform a reset on the radar, resetting the device to factory settings and purging the send and receive
buffers.
NOTE: Resetting the radar causes all radar registers to be reset to factory default values. That
means that the settings for DAC thresholds, TX and RX attenuation, range delay and detection
intervals may no longer be the same as what the application thinks they are. It is strongly
recommended to re-send all pertinent register values to the radar after calling this function to
ensure that the application and the actual radar unit are in sync.
Format:
ULONG RaDeKL_ResetRadar (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:
Perform a reset on a RaDeKL Radar device.
ULONG status;
RaDeKL_HANDLE handle;
// Assume we have an open radar with a valid handle
status = RaDeKL_ResetRadar (handle);
// Check status . . .