5

Automation API - Support Lower Sampling Rates


A
Albert

Note from Saleae: This is a larger project than we initially thought — not straightforward, but doable. The key difficulty is that the lower sampling rates (below 625 kS/s) are not officially supported by our device in hardware, but is instead downsampled in software. This poses a few challenges when incorporating it with our automation API. We’ve got this feature request internally documented and we have a plan to fix it - but sadly it won’t be right away due to other priorities at the moment.

A

Activity Newest / Oldest

Avatar

Tim

discuss.saleae.com/t/sample-rates-31250-are-currently-unsupported-from-the-automation-api/1959/12
"are there any updates on this topic? One solution could be that instead of exporting the data to a CSV it could directly be loaded in python, as the export takes a long time. This way the data can be downsampled manually in python and can then be exported."


R

Rigel

Hi there - just wanted to add that I too am anxiously awaiting this feature :) I run test that last for 2-3hrs and ned to collect low sample rate data for that duration. Would be great to be able to dial in these lower sample rates!


K

Ko

Hi, I have the same problem. @saleae did you already add a feature within the automation API to allow sample rates of 50s/s?


Avatar

Tim

Unfortunately, we haven't been able to prioritize adding lower sampling rate support for our Automation API yet.


Avatar

Tim

(#83493)
"I can't get the capture to run with an analog sample rate of 31.25KS/s"


Avatar

Tim

(#82274)
"I found an error that seems to be happening with you developer SKD for (Automation2). So the GUI allows for a sampling rate of 50s/s for analog recording however, when I try to insert this value on the example automation on you website.

This is the error that it throws.
saleae.automation.errors.InvalidRequestError: Invalid supplied sample rate - sample rates


Avatar

Tim

#81204
"we are looking for a sample rate of 100K or lower on the analog input for logic 2.0 using the API remote commands. Currently the lowest we can go is 785K sample rate for analog inputs and this will not work for our application."


Avatar

Tim

github.com/saleae/logic2-automation/issues/23
"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 ?"


Avatar

Tim

discuss.saleae.com/t/sample-rates-combined-digital-and-analog/2156
"I use 1 analog and 4 digital channels, where the digital channels need very high sample rates (at least 50 MS/s) - but the analog channel needs a very low rate (down to 100 S/s) to allow sampling for long durations.
This is working alright but as I have discovered that Logic 2 has been updated with automation, I want to migrate to Logic 2. However, I see that Logic 2 is not (yet) supporting the sample rates I need.
How are your plans for additional combinations?"


Avatar

Tim

(#79411)
"In addition, I also have request on sample rate configuration through Logic2 python API, currently I see it only supports sample rate > 31250, in my case, minimum 781.25kHz. High sample rate makes our export data too large to analyze. I think this shouldn’t be hard to add, do you have plan to add it?"


Avatar

Tim

(#78580)
"i want to sample my analog inputs at a sampling rate of 15.625kS/s. I can do it on the GUI but not on the automated code. is there a configuration that I need to set to get to the lower sampling rate?
...
We would like to run a sample for 5 minutes on one channel and need the sample distance to be about 50 micro seconds or about 20 ks/sec sampling rate for analog measurements. Logic 1 the closest we could 125ks/sec but logic 2 the files would be much to large. We will be forced to use logic 1 until you can get the analog sampling rate to 30ks/sec or lower."


A

Albert

Sample rates equal or below 31250 are currently unsupported from the automation API


A

Albert

Sample rates