The following situations require approximately 4 seconds for discharge to complete:
"When test ends"
"When test stops (STOP or ERROR)"
During "emergency stop," forced discharge is performed, so there is no time constraint.
Also, during "test pause," only the count stops and discharge is not performed.