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

Commit Graph

  • 7e2b262429 Correct two howling errors in the capture logic – how did I not notice these before? main Jonathan Hogg 2021-06-22 13:20:06 +01:00
  • 58aaf4c74e Merge pull request #1 from mh-/main Jonathan Hogg 2021-02-20 11:24:12 +00:00
  • 759828c637 Modified streams.py so that it works also with unspecified serial_number. Michael Huebler 2021-02-14 16:16:23 +01:00
  • f3748a4c6a More language tweaks. Jonathan Hogg 2020-07-29 18:40:02 +01:00
  • 81eba8bc5c Fixes to clock scale selection for slow capture. Jonathan Hogg 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... Jonathan Hogg 2020-07-24 13:49:10 +01:00
  • 78f99c4acc Lots of linter changes. Jonathan Hogg 2020-07-23 15:37:40 +01:00
  • 829eab570a Small change to closing of scope Jonathan Hogg 2020-07-23 12:38:22 +01:00
  • 742109336b Mysterious invisible character Jonathan Hogg 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. Jonathan Hogg 2020-07-20 13:58:10 +01:00
  • b62bffe631 Analysis tweaks; split out test code for the moment Jonathan Hogg 2020-07-01 19:32:06 +01:00
  • 529a96a31b Linter fixes Jonathan Hogg 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 Jonathan Hogg 2020-07-01 19:31:18 +01:00
  • ca9011011d Small tweaks Jonathan Hogg 2020-06-29 19:28:53 +01:00
  • 89e0f23499 Oops! Missed one. More linter cleaning-up Jonathan Hogg 2020-06-29 17:31:07 +01:00
  • c5222fd9b4 Tidying up a bit; work in progress on automatic analysis of results Jonathan Hogg 2020-06-29 17:25:43 +01:00
  • 751cacba6d Historic bug; saner method naming; linter fix Jonathan Hogg 2020-06-27 14:51:12 +01:00
  • 8c522205e6 Linter fixes Jonathan Hogg 2020-06-27 14:26:33 +01:00
  • b6f4551208 Improved error for missing scope; also make url parameter optional again Jonathan Hogg 2018-09-06 10:49:45 +01:00
  • caacfe37fc Some outstanding tweaks; fix to using arbitrary waveform; support for serial comms on Windows Jonathan Hogg 2018-09-05 15:49:22 +01:00
  • 00df1d7639 Update simple documentation Jonathan Hogg 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 Jonathan Hogg 2018-07-03 18:54:36 +01:00
  • bbc7596292 Add clock control; change analog calibration significantly; general improvements Jonathan Hogg 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 Jonathan Hogg 2018-06-26 19:30:43 +01:00
  • e65792c79c Merge branch 'master' of github.com:jonathanhogg/scopething Jonathan Hogg 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 Jonathan Hogg 2018-06-20 17:13:03 +01:00
  • 83589f49f9 Formatting of logging Jonathan Hogg 2018-05-18 22:57:09 +01:00
  • d5c8ec3b16 Small trigger tweaks and logging changes Jonathan Hogg 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 Jonathan Hogg 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) Jonathan Hogg 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 Jonathan Hogg 2017-07-29 15:04:38 +01:00
  • 36f85b8e8c Fix TriggerIntro/TriggerOutro units (samples/2) Jonathan Hogg 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 Jonathan Hogg 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 Jonathan Hogg 2017-07-26 13:45:23 +01:00
  • b09acd6905 Tidying Jonathan Hogg 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 Jonathan Hogg 2017-07-14 17:29:59 +01:00
  • 000862abef Renaming for consistency; tweaks; stuff; other Jonathan Hogg 2017-07-13 19:07:26 +01:00
  • 24f42a4208 Just poking around really Jonathan Hogg 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 Jonathan Hogg 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 Jonathan Hogg 2017-07-07 13:53:36 +01:00
  • d29be6ba76 Small efficiency improvements in processing results of capture Jonathan Hogg 2017-07-04 15:42:49 +01:00
  • 3075dac302 Infinite timeout when not specified; remove requirement for pandas from test code Jonathan Hogg 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 Jonathan Hogg 2017-03-30 16:15:39 +01:00
  • c5db95ddb1 Fix bug in calculating SampleAddress that was breaking mixed signal capture Jonathan Hogg 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 Jonathan Hogg 2017-03-28 16:15:54 +01:00
  • 94320a27f8 Fix Python requirement in README Jonathan Hogg 2017-03-27 17:18:57 +01:00
  • 40ac792121 Yet more work on triggering - still doesn't work properly for mixed/logic Jonathan Hogg 2017-03-27 16:18:02 +01:00
  • bc6f585e2b More work on triggering Jonathan Hogg 2017-03-27 13:31:28 +01:00
  • ba4fb59313 Start of reworking the trigger logic Jonathan Hogg 2017-03-27 12:23:46 +01:00
  • 11d0f3a2c4 Something that looks like it'll do logic capture Jonathan Hogg 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 Jonathan Hogg 2017-03-26 16:13:50 +01:00
  • c7bc7beded Use Python 3.6 format strings Jonathan Hogg 2017-03-26 14:49:35 +01:00
  • ec2c83cf73 Fix explicit/optional time channel Jonathan Hogg 2017-03-26 13:59:10 +01:00
  • 198a6099c7 Remove unnecessary import Jonathan Hogg 2017-03-26 13:16:06 +01:00
  • ba0af88735 Make time trace optional; more concise code in capture Jonathan Hogg 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 Jonathan Hogg 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() Jonathan Hogg 2017-03-25 15:04:21 +00:00
  • 2bdcd23a14 Use newer streams.py from Storm project Jonathan Hogg 2017-03-25 14:35:42 +00:00
  • 2174382464 Some simplifications Jonathan Hogg 2016-10-24 19:19:52 +00:00
  • 3d12065469 Neater clock mode selection code Jonathan Hogg 2016-10-23 21:22:28 +00:00
  • f41e11c336 Work in progress Jonathan Hogg 2016-10-23 17:50:56 +00:00
  • 95e07aaa70 Various improvements Jonathan Hogg 2016-10-23 16:54:56 +01:00
  • 7eb23b38f2 Scaling using modelling function Jonathan Hogg 2016-10-23 15:52:30 +01:00
  • 668a63902c Small update to README to actually say something useful Jonathan Hogg 2016-10-22 17:50:05 +01:00
  • a344d4ead0 Add offset calibration; suspend EEPROM stuff for a moment Jonathan Hogg 2016-10-20 19:08:45 +01:00
  • 9de3678e0c Add license; other changes Jonathan Hogg 2016-10-20 16:17:43 +01:00
  • fee5e5c455 Small tweaks Jonathan Hogg 2016-10-19 18:44:58 +01:00
  • 79b7b41c0d Scaling (with calibration) and triggering working Jonathan Hogg 2016-10-19 17:33:11 +01:00
  • c8211dceb0 Large part of capture working Jonathan Hogg 2016-10-17 19:14:19 +01:00
  • 5ab80ddf1d Tidier constants Jonathan Hogg 2016-10-14 12:36:31 +01:00
  • d4e6244bba Optimised register writing Jonathan Hogg 2016-10-14 12:26:45 +01:00
  • ed42994868 Checkpoint of work in progress Jonathan Hogg 2016-10-11 16:54:56 +01:00
  • d5075de09f Initial test stuff Jonathan Hogg 2016-10-10 13:10:16 +01:00