Improved code and doc for external trigger mode