A system and method for trimming an unadjusted forward delay of a delay-locked loop and trimming a duty cycle of first and second output clock signals provided by a DLL. To enhance the carbon-13 NMR signal these nuclei are being hyperpolarized. The signal is sampled and aligned to permit calculation of amplitude and phase values at each point as a function of time.