Description of the problem
We would like to export each triggered section from a datafile as a separate .dxd file.
Example:
Description of the solution
Unfortunately, there is no straightforward option to export multiple triggered sections into separate datafiles. However, it can be done using DCOM with the Python script. A simple Python script can load the file, check the events for triggers, and then export individual .dxd files according to these triggers.
The script and test datafile is available in our Google Drive folder.
Please note that the Python library pyWin32 must be installed on the computer. It can be installed by opening the command prompt and running the command “pip install pywin32”.
For future data acquisition, it would be advised to use the Multifile functionality, with the option to make a new file after 1 trigger, for example. This way, individual triggered sections can be analyzed separately in different datafiles.