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

73 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
58aaf4c74e Merge pull request #1 from mh-/main
Fixed small problem when serial_number is not specified.
2021-02-20 11:24:12 +00:00
759828c637 Modified streams.py so that it works also with unspecified serial_number. 2021-02-14 16:16:23 +01:00
f3748a4c6a More language tweaks. 2020-07-29 18:40:02 +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
742109336b Mysterious invisible character 2020-07-20 14:00:52 +01:00
42bb240cc4 Extend README as people seem to be suddenly looking at this code; remove cruft from analysis test script. 2020-07-20 13:58:10 +01:00
b62bffe631 Analysis tweaks; split out test code for the moment 2020-07-01 19:32:06 +01:00
529a96a31b Linter fixes 2020-07-01 19:31:31 +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
ca9011011d Small tweaks 2020-06-29 19:28:53 +01:00
89e0f23499 Oops! Missed one. More linter cleaning-up 2020-06-29 17:31:07 +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
942c7e7dbc Use low latency serial IO on Linux; optimise reading of replies; add pushback buffer to serial stream for the latter 2017-07-07 13:53:36 +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
94320a27f8 Fix Python requirement in README 2017-03-27 17:18:57 +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