<_whitenotifier-f>
[scopehal-apps] azonenberg pushed 1 commit to master [+0/-0/±5] https://git.io/JfyNa
<_whitenotifier-f>
[scopehal-apps] azonenberg 42462d5 - Added --nodigital argument to only show analog channels when starting glscopeclient
juli966 has joined #scopehal
futarisIRCcloud has quit [Quit: Connection closed for inactivity]
Degi has quit [Ping timeout: 246 seconds]
Degi has joined #scopehal
futarisIRCcloud has joined #scopehal
<azonenberg>
So i'm working on the multi scope sync wizard
<azonenberg>
probably wont finish tonight but making progress
<azonenberg>
i created all of the necessary wizard pages, wrote text for most of the prompts, and did the setup needed on the primary (basically just turning on the trigger output)
<azonenberg>
i still have to configure the secondaries (enable external trigger and external refclk), collect some waveforms, calculate the skew
<azonenberg>
then actually apply the deskew correction
<azonenberg>
then i need to ensure that any time i change the trigger offset on the primary, all of the secondaries update at the same time
<azonenberg>
and generally just make them behave more like an integrated instrument
<_whitenotifier-f>
[scopehal] azonenberg pushed 2 commits to master [+0/-0/±8] https://git.io/JfSkP
<_whitenotifier-f>
[scopehal-apps] azonenberg pushed 1 commit to master [+2/-0/±4] https://git.io/JfSkQ
<_whitenotifier-f>
[scopehal-apps] azonenberg a37d563 - Initial work on multi-instrument sync wizard. Correctly configures primary, does basic setup on secondaries but doesn't deskew yet. See #70.
<azonenberg>
oh lovely, so to do the sync i need to cross-correlate waveforms that might have different sampling rates
<_whitenotifier-f>
[scopehal-apps] azonenberg pushed 1 commit to master [+0/-0/±3] https://git.io/JfStC
<_whitenotifier-f>
[scopehal-apps] azonenberg 0782684 - Continued work on ScopeSyncWizard. Now compute skew between scopes, but don't apply the correction. See #70.
<azonenberg>
So here's an interesting tidbit
<azonenberg>
My LeCroy scopes can only adjust the trigger timestamp in 4-nanosecond increments
<azonenberg>
despite sampling far faster than that
<azonenberg>
I wonder if that's the division rate of some kind of SERDES or something
<azonenberg>
and they run the trigger logic on blocks of data at low speed in the FPGA, then align per-sample ex post facto
<azonenberg>
This means that when doing scope-to-scope skew correction i cannot just use the trigger position control
<azonenberg>
I need to use that plus the fine per-channel deskew which can go to sample or possibly even sub-sample resolution
<azonenberg>
This also means i need an API to query the granularity of the trigger offset
<azonenberg>
So i know how close i can get with trigger offset tuning and how much has to be saved for the deskew
<_whitenotifier-f>
[scopehal-apps] azonenberg opened issue #112: Add UI for configuring per-channel deskew - https://git.io/JfSmn
<_whitenotifier-f>
[scopehal] azonenberg closed issue #21: Add APIs for setting horizontal trigger position - https://git.io/JfSYX
<azonenberg>
degi / miek: when you get a chance, can you implement those two functions in your scope drivers? I added dummy stubs so the code would compile
<azonenberg>
but they dont actually do anything
<Degi>
Oh, 110 is neat
<Degi>
In what unit is the int64_t?
<azonenberg>
see Oscilloscope.h
<azonenberg>
i actually have a bug in the lecroy driver that doesnt comply with that spec that i'm working on fixing
<azonenberg>
lecroy measures offset from the middle of the plot, not the start
<Degi>
Huh
<Degi>
Why offset and not the trigger level?
<azonenberg>
this is the offset in time
<Degi>
Ahh
<azonenberg>
not the trigger threshold
<Degi>
Yeah I think thats usually from the middle
<azonenberg>
yeah but i think start makes more sense from an API perspective
<Degi>
I wonder how the number of counter bits in a FPGA correlates with frequency
<_whitenotifier-f>
[scopehal] azonenberg pushed 1 commit to master [+0/-0/±1] https://git.io/JfSOY
<_whitenotifier-f>
[scopehal] azonenberg ce30cfe - LeCroyOscilloscope: trigger offset on the SCPI interface is measured from midpoint of acquisition, not start
<_whitenotifier-f>
[scopehal] azonenberg closed issue #144: Add support for per channel deskew - https://git.io/Jfyip
<sorear>
actually I think at the gate level "retiming" and "CSA" are the same
<_whitenotifier-f>
[scopehal-apps] azonenberg pushed 1 commit to master [+0/-0/±1] https://git.io/JfS3x
<_whitenotifier-f>
[scopehal-apps] azonenberg a42ea12 - ScopeSyncWizard now mostly works, but occasionally drops triggers. See #70.
<azonenberg>
So, two remaining things left to do before the deskew wizard is done
<azonenberg>
first, it occasionally fails to trigger. This seems to be a bug in the multi-scope trigger logic but in the short term i can work around it by adding a timeout and retriggering after that time if nothing happens
<azonenberg>
second, deskewing based on cross-correlation of a single waveform is a bit noisy so i'm going to collect a few and average
<azonenberg>
oh and adding a "done" page so you dont have to click cancel upon completion to make it exit :p
<azonenberg>
also, unrelated, the LCD for the MEAD prototype came in
<azonenberg>
it shipped from bellevue and outran the rest of the parts
<azonenberg>
apparently digikey is jumping on the third party seller bandwagon
<azonenberg>
so something to watch out for
<monochroma>
azonenberg: oh god yeah, i ran into that
<azonenberg>
i assume they vet those vendors well
<azonenberg>
but you never know
<azonenberg>
this display came wrapped in ordinary bubble wrap, not even ESD
<Degi>
And then you get spam mail
<monochroma>
i needed something in a hurry and i was about to checkout and then it was like "these will be shipped now, and these will be shipped later!"
<azonenberg>
yeah i almost didnt buy this display but it looked nicer than the alternatives
anuejn_ is now known as anuejn
juli966 has joined #scopehal
futarisIRCcloud has quit [Quit: Connection closed for inactivity]
smkz has quit [Ping timeout: 256 seconds]
promach3 has quit [*.net *.split]
maartenBE has quit [Ping timeout: 246 seconds]
maartenBE has joined #scopehal
smkz has joined #scopehal
futarisIRCcloud has joined #scopehal
tverbeure has joined #scopehal
tverbeure has quit [Quit: Leaving]
futarisIRCcloud has quit [Quit: Connection closed for inactivity]