structure for communication with datalogger