This section explains how to perform acquisition and sampling with discrete and how to configure event callback.