saleae / logic2-automation

Logic2 Automation API
https://saleae.github.io/logic2-automation/
Apache License 2.0
19 stars 8 forks source link

analogSampleRate invalid supplied less than 781250 #23

Open HappyFerry opened 1 year ago

HappyFerry commented 1 year ago

loginc2 version: 2.4.7 enable automation server set analogSampleRate = 312500, error happen. ------------error message--------------- path: '/saleae.automation.Manager/StartCapture', code: 10, details: '10: Invalid supplied sample rate. Allowed sample rates with channel configuration: {"analog":12500000}, {"analog":6250000}, {"analog":3125000}, {"analog":1562500}, {"analog":781250}, {"analog":3125000}, {"analog":3125000}, {"analog":3125000}, {"analog":3125000}, {"analog":3125000}'

Is there any way to set a lower sampling rate ?

timreyes commented 1 year ago

This is unfortunately not possible at the moment. We're also tallying this request in the feature request post below, and I've added a comment for you to track your need for this there: https://ideas.saleae.com/b/feature-requests/automation-api-support-sample-rates-31250hz/

Apologies we don't have a solution for you right now.