My code is basically a infinte loop, I can check a preset time to terminate it, and call final reporting routine. however it is more convenient for me to press CTRL+C, if the code can still call the final reporting routine. Please kindly let me the tricks. Thanks.
Michael