Hello,
I think there is an error in the documentation of the Automation2 API…
https://saleae.github.io/logic2-automation/automation.html#saleae.automation.DigitalTriggerCaptureMode
It is stated here, that “trim_data_seconds” refers to the complete data, not just the pre-trigger data… While “after_trigger_seconds” specifically refers to the time after trigger…
When I try to use the settings like this, the result suggests, that the parameter “trim_data_seconds” refers to the pre-trigger time only…
with captureBeforeTrigger == 0.1 and captureTimeAfterTrigger == 0.5 leads to this according to the GUI:
Could you please check?
Thanks!
Cheers
Niesl Göran