We describe a prototype digital device for measuring high-order structure functions in turbulence. Because the structure function is a special case of the correlation function, the device may find usage outside the study of turbulence. The device operates at 20 kHz on 12-bits data and updates probability distribution functions of signal differences for 64 arbitrarily chosen time delays in real time.