Use parseports function for digital output
DITask reports number of samples read