-
Notifications
You must be signed in to change notification settings - Fork 82
Open
Description
We are trying to use the ps6000a API with our 6428e-d. In the PicoSDK, the conversion to timebases is different for the 6428e-d than other models. I've noticed that this library computes the timebase number without taking this into account.
pico-python/picoscope/ps6000a.py
Line 380 in 41e0f39
| def getTimeBaseNum(sampleTimeS): |
The manual: https://www.picotech.com/download/manuals/picoscope-6000-series-a-api-programmers-guide.pdf. Page 23 has the conversion for the 6428e-d and other models.
The SDK has a function ps6000aNearestSampleIntervalStateless (p. 62) that I think does the equivalent and handles the difference between models.
Metadata
Metadata
Assignees
Labels
No labels