add daq function.