1
0
mirror of https://github.com/jonathanhogg/scopething synced 2025-07-13 18:52:10 +01:00

60 Commits

Author SHA1 Message Date
7e2b262429 Correct two howling errors in the capture logic – how did I not notice these before? 2021-06-22 13:20:06 +01:00
81eba8bc5c Fixes to clock scale selection for slow capture. 2020-07-29 18:39:46 +01:00
188db8bd76 More overdue fixes. The more I look, the more I see this shit everywhere in my code... 2020-07-24 13:49:10 +01:00
78f99c4acc Lots of linter changes. 2020-07-23 15:37:40 +01:00
829eab570a Small change to closing of scope 2020-07-23 12:38:22 +01:00
22f7d1a81e Use timestamps starting at 0 and record scope time as capture_start in the series data 2020-07-01 19:31:18 +01:00
c5222fd9b4 Tidying up a bit; work in progress on automatic analysis of results 2020-06-29 17:25:43 +01:00
751cacba6d Historic bug; saner method naming; linter fix 2020-06-27 14:51:12 +01:00
8c522205e6 Linter fixes 2020-06-27 14:26:33 +01:00
b6f4551208 Improved error for missing scope; also make url parameter optional again 2018-09-06 10:49:45 +01:00
caacfe37fc Some outstanding tweaks; fix to using arbitrary waveform; support for serial comms on Windows 2018-09-05 15:49:22 +01:00
00df1d7639 Update simple documentation 2018-07-03 19:03:43 +01:00
352e3e65f5 Load/save analog parameters to a config file; more debug logging; quicker clock divider determination in capturing; quicker selection of clock for waveform generation; documented calibration; removed dodgy/unused scope methods; fixed sample scaling; fixes for using scope over network connection; new URL-based connection method 2018-07-03 18:54:36 +01:00
bbc7596292 Add clock control; change analog calibration significantly; general improvements 2018-06-28 18:14:00 +01:00
7395fce34a Simplifications; bug fixes; also, it turns out that the documentation is wrong about Macro trace modes supporting ClockTicks up to 64ki, it's actually 16ki 2018-06-26 19:30:43 +01:00
e65792c79c Merge branch 'master' of github.com:jonathanhogg/scopething 2018-06-20 17:14:07 +01:00
f5847d750f Support for multiple analog params to handle calibrating different kinds of probe; naming convention changes; other random updates 2018-06-20 17:13:03 +01:00
83589f49f9 Formatting of logging 2018-05-18 22:57:09 +01:00
d5c8ec3b16 Small trigger tweaks and logging changes 2018-05-18 17:41:57 +01:00
90683e24da Default to 3.3V logic levels if only capturing logic signals; neaten use of registers in vm 2017-09-15 13:57:27 +01:00
dc99b64274 Include more info in trace objects; fix calibration to work with new return values of capture() (doh!); fix maximum clock ticks (16bit unsigned value); neaten sample reading code and switch to single-precision floats (easily large enough) 2017-07-31 17:58:10 +01:00
33311848f0 Use array objects for samples and timestamps (as two items in a DotDict per trace); put +2 back into timeout calculation logic 2017-07-29 15:04:38 +01:00
36f85b8e8c Fix TriggerIntro/TriggerOutro units (samples/2) 2017-07-26 18:41:38 +01:00
403bac94a5 Tidy up some bits: naming; best practice on waveform generation command window transaction usage; analog channel enable mask for capture 2017-07-26 18:23:54 +01:00
fc961fb2a0 Move pushback buffer into vm so that it will work with other kinds of stream; move stream closing into same for neatness; support cancelling capturing through asyncio.Task cancellation 2017-07-26 13:45:23 +01:00
b09acd6905 Tidying 2017-07-14 17:52:55 +01:00
44194ab63e New hi/lo model; improved timeout logic; new generator low/high logic; fixed scaling of samples 2017-07-14 17:29:59 +01:00
000862abef Renaming for consistency; tweaks; stuff; other 2017-07-13 19:07:26 +01:00
24f42a4208 Just poking around really 2017-07-11 18:09:14 +01:00
be7e7e97c1 Revised analog params; move VM-specific IO routines into vm.py; remove EEPROM params code (doesn't work); a few lines of documentation here and there 2017-07-11 11:33:49 +01:00
d29be6ba76 Small efficiency improvements in processing results of capture 2017-07-04 15:42:49 +01:00
3075dac302 Infinite timeout when not specified; remove requirement for pandas from test code 2017-07-03 17:08:56 +01:00
3ec9861cd0 generate() now takes an iterable of 0..1 values as wavetable input; use nsamples in capture mode selection so that it will ditch 16-bit sampling if that means the requested number of samples can't be achieved 2017-03-30 16:15:39 +01:00
c5db95ddb1 Fix bug in calculating SampleAddress that was breaking mixed signal capture 2017-03-30 15:00:59 +01:00
0d3e73439b Fix capture timeout; fix buffer offset bug; calibrate in both 8bit and 16bit sample sizes; compute calibration limits 2017-03-28 16:15:54 +01:00
40ac792121 Yet more work on triggering - still doesn't work properly for mixed/logic 2017-03-27 16:18:02 +01:00
bc6f585e2b More work on triggering 2017-03-27 13:31:28 +01:00
ba4fb59313 Start of reworking the trigger logic 2017-03-27 12:23:46 +01:00
11d0f3a2c4 Something that looks like it'll do logic capture 2017-03-26 20:07:19 +01:00
891d7037a8 Actually, simplify the SerialStream again and don't use the delay stuff from the Storm version 2017-03-26 16:13:50 +01:00
c7bc7beded Use Python 3.6 format strings 2017-03-26 14:49:35 +01:00
ec2c83cf73 Fix explicit/optional time channel 2017-03-26 13:59:10 +01:00
198a6099c7 Remove unnecessary import 2017-03-26 13:16:06 +01:00
ba0af88735 Make time trace optional; more concise code in capture 2017-03-26 12:51:28 +01:00
425c145ef5 Use a DotDict for trace data; default trigger to middle of capture range; add pylab example usage 2017-03-25 15:32:27 +00:00
4391007007 Fix breaks from changes in SerialStream initialisation; default to first matching USB device; return sample times from capture() 2017-03-25 15:04:21 +00:00
2174382464 Some simplifications 2016-10-24 19:19:52 +00:00
3d12065469 Neater clock mode selection code 2016-10-23 21:22:28 +00:00
f41e11c336 Work in progress 2016-10-23 17:50:56 +00:00
95e07aaa70 Various improvements 2016-10-23 16:54:56 +01:00