public void StopHardware()
        {
            uint err = ItcmmCall(() => ITCMM.ITC_Stop(DevicePtr, IntPtr.Zero));

            if (err != ITCMM.ACQ_SUCCESS)
            {
                throw new HekaDAQException("Unable to stop device", err);
            }
        }