Exporting CSV in automation flow

Hi,
I’m running some automation tests through Python scripts with Saleae Pro16. But I can’t find how to config the CSV settings as “Output one row per sample” in export_data2()?

Thank you for your help!

@tretre313 I’m happy to help! We some examples of commands in the support article below which demonstrate this.

The following argument will set the export setting to “Output one row per sample.”
rows_per_change=False

We’ve just launched a preview of the new automation API for the Logic 2 software! You can find everything you need to get started here: Saleae Logic 2 Automation API