A data logger that functions for CPGs