If you want to export only the last 10 seconds of the resting ECG to DICOM you change this in "Settings" >> "Export" >> "DICOM" and tag the tagbox Duration of ECG is exact 10 sec.