The use of a real-time computer diary for data acquisition and processing