TDC control library