azonenberg changed the topic of #scopehal to: libscopehal, libscopeprotocols, and glscopeclient development and testing | https://github.com/azonenberg/scopehal-apps | Logs: https://freenode.irclog.whitequark.org/scopehal
Degi_ has joined #scopehal
Degi has quit [Ping timeout: 260 seconds]
Degi_ is now known as Degi
<xzcvczx> GenTooMan: still alive?
<GenTooMan> barely yourself?
<azonenberg> woop, making progress on spectrogram rendering
<azonenberg> I can probably reuse some of the same code for X-Y plots or constellations in the future
<xzcvczx> GenTooMan: did you get your siglent from siglent?
bgamari has quit [Quit: ZNC 1.8.1 - https://znc.in]
bgamari has joined #scopehal
jn__ has quit [Ping timeout: 250 seconds]
<_whitenotifier-3> [scopehal] azonenberg pushed 3 commits to master [+3/-0/±8] https://git.io/JON7I
<_whitenotifier-3> [scopehal] azonenberg 22128ca - avx_mathfun: moved to source file from header now that it's used in multiple places
<_whitenotifier-3> [scopehal] azonenberg df8833b - Initial skeleton of spectrogram filter. Just displays a static checkerboard. See #430.
<_whitenotifier-3> [scopehal] azonenberg 18fd1a3 - SpectrogramFilter: Finished initial implementation. Fixes #430.
<_whitenotifier-3> [scopehal] azonenberg closed issue #430: Add "spectrogram" filter - https://git.io/JONTe
<azonenberg> ok, almost there
<azonenberg> the backend is done, just need to make the rendering scale the Y axis correctly
<_whitenotifier-3> [scopehal] azonenberg pushed 1 commit to master [+0/-0/±1] https://git.io/JON77
<_whitenotifier-3> [scopehal] azonenberg 4965092 - Changed log messages from debug to trace verbosity
Guest139081 is now known as JJJollyjim
<_whitenotifier-3> [scopehal-apps] geekyjoyce72 forked the repository - https://git.io/JONbR
<_whitenotifier-3> [scopehal] geekyjoyce72 forked the repository - https://git.io/JONbR
<_whitenotifier-3> [scopehal] azonenberg pushed 1 commit to master [+0/-0/±2] https://git.io/JONxK
<_whitenotifier-3> [scopehal] azonenberg 79945fb - SpectrogramFilter: made both upper and lower limits configurable
<_whitenotifier-3> [scopehal-apps] azonenberg pushed 2 commits to master [+2/-0/±8] https://git.io/JONxX
<_whitenotifier-3> [scopehal-apps] azonenberg 8c860b9 - Initial implementation of spectrogram rendering. Correctly scaled for X axis, haven't touched Y yet.
<_whitenotifier-3> [scopehal-apps] azonenberg 12e15b3 - Initial rendering of spectrograms is finished
<_whitenotifier-3> [scopehal] azonenberg pushed 1 commit to master [+0/-0/±1] https://git.io/JONjx
<_whitenotifier-3> [scopehal] azonenberg 71e9c15 - Added some more FFT sizes to SpectrogramFilter
<azonenberg> And spectrograms are working
<azonenberg> My immediate use case is side channel analysis stuff but it could be useful for correlating EMI or power rail noise to circuit behavior too
<d1b2> <mubes> Very very nice!
<azonenberg> I'm already finding side channel leakage on a board for work with it but sadly can't share those plots
<azonenberg> Using one of my 4 GHz differential probes because the dedicated power rail probe hasn't arrived yet
<azonenberg> luckily this rail is low enough voltage it's within the dynamic range of this probe. If it was a 3.3V rail this stunt wouldn't work
<azonenberg> We also need horizontal cursors to make it easier to find the exact frequency of a peak
<azonenberg> that's been on the wishlist for ages and this is the first time i've really wanted them for my own use :p
<_whitenotifier-3> [scopehal-apps] azonenberg pushed 1 commit to master [+0/-0/±1] https://git.io/JOAqa
<_whitenotifier-3> [scopehal-apps] azonenberg e8fbf44 - Fixed clipping bug in spectrogram shader
Tost has joined #scopehal
azonenberg_work has quit [Remote host closed the connection]
azonenberg_work has joined #scopehal
ericonr has quit [Ping timeout: 240 seconds]
azonenberg_work has quit [Remote host closed the connection]
ericonr has joined #scopehal
<xzcvczx> azonenberg: i am surrprised side channel is still a thing
<sorear> in classical physics there isn't anything you can do to get rid of them, only make it increasingly more difficult
<xzcvczx> well true, but in memcmp/strcmp timing you can and yet thats still a thing >_<
<noopwafel> azonenberg: very pretty :)
<noopwafel> azonenberg: did anyone look at support for other pico series for the bridge? I guess not?
<azonenberg> Not yet. I will be looking into that once i've finished 6000 series
<azonenberg> i have some stability improvements to make
<noopwafel> I have one more week of academic fires and then I have a month blocked off as vacation.
<azonenberg> then some refactoring of the code to try and clean it up for easier addition of more models
<noopwafel> but looking at it and already thinking I'd want to refactor all the shared code out.
<azonenberg> Yes
<azonenberg> That was always the polan
<azonenberg> i wanted to get it working first
<noopwafel> ok. cool.
<azonenberg> then clean it up
<azonenberg> refactoring before i have it debugged is just asking for trouble
<noopwafel> right, my bridge was very much the same :)
<azonenberg> This bridge works and is fast though
<azonenberg> i've pushed 2.5 Gbps of waveform data over it
<noopwafel> so presumably I can just fold that code in
<noopwafel> nice
<azonenberg> Yeah. Pico is definitely interested in support for more devices
<azonenberg> And we have people on the github asking for several in particular
<noopwafel> well, I also have a pico adc-212/100 here, parallel port and all
<azonenberg> maybe let's skip thaaaat
<noopwafel> :-)
<azonenberg> Anyway, i'll try and find some time this week to spend on the 6000 series driver debugging
<azonenberg> i'm horribly busy right now so no promises :p
<noopwafel> sure, this week remains a lost cause for me anyhow
<azonenberg> well i meant to have it ready for you to do stuff next week if you were available
<azonenberg> I've been doing a ton of glscopeclient dev, but it's all been stuff i needed for work
<noopwafel> that's the way to stay motivated
<noopwafel> if you're not actively depending on the 6000 support then don't think it's worth doing, I will see if I have the energy next week and ping you if I really have qus :)
<azonenberg> Well i wanted to clear 6000 series from my plate soonish so i can show pico something for the free scope they sent me
<noopwafel> the APIs for the different scopes are not that far from each other anyway
<azonenberg> Yeah
<azonenberg> Also digilent sent me an analog discovery, an ad pro, and a digital discovery
<azonenberg> and i wanted to get the pico driver somewhat usable before turning my focus to that
<azonenberg> so many scopes, so little time lol
<noopwafel> you're even using the same scale constant (0x7f00 / 32512) as my 3000-series code
<azonenberg> Great
<noopwafel> you're missing the most important step though: ps3000aFlashLed(g_picoHandle, 2); /* say hello */
<azonenberg> If we can sed the code from 6000 to 3000 that would be lovely :p
<noopwafel> it's not quite that convenient but it's not too far off that!
<azonenberg> lol
<noopwafel> and my prototype hack was using the fancier trigger API, not the simple trigger
<noopwafel> I suspect that will differ a lot more
<azonenberg> yeah i will definitely be doing improvements to triggering
<azonenberg> i have some bugs i need to fix around that actually
<azonenberg> random crashes etc wher the instrument reports failure to trigger or something
<noopwafel> but my motivation is mostly that .. the pico software is not very good :)
<azonenberg> Yeeeah
<noopwafel> so good glscopeclient support would make a lot of sense for everyone
<azonenberg> Yeah
<noopwafel> and you had no problems using polling? for some reason I was using a callback
<noopwafel> anyway yes it looks very much similar enough to 3000
<Degi> Aaah, I can't wait for the Rigol FW update
<azonenberg> callbacks actually caused more problems
<azonenberg> as they're not thread safe
jn__ has joined #scopehal
* GenTooMan fires of tar to clean things up.
<GenTooMan> xzcvczx, sic et non it says "Sold by: Amazon.com Services LLC" on the order from Amazon likely it was the Siglent store.
<Degi> What kinda Balun should I use for 50 Ohm single ended to 100 Ohm differential? I think it should be 1:1.4 but that ratio seems seldom
<xzcvczx> GenTooMan: ah ok, thank you
juli9610 has joined #scopehal
bvernoux has joined #scopehal
<GenTooMan> not sure if that helped you much but Amazon tries to obfuscate things a bit too much at times.
<xzcvczx> but i thought amazon was like hte perfect corporate citizen
<GenTooMan> xzcvczx, I'm not sure what that would be, but if they are the world is in dire straights.
<xzcvczx> </s> :P
<_whitenotifier-3> [scopehal-apps] azonenberg opened issue #322: Increase minimum threshold for dragging channels - https://git.io/JOjoK
<_whitenotifier-3> [scopehal-apps] azonenberg labeled issue #322: Increase minimum threshold for dragging channels - https://git.io/JOjoK
<_whitenotifier-3> [scopehal-apps] azonenberg labeled issue #322: Increase minimum threshold for dragging channels - https://git.io/JOjoK
Tost has quit [Ping timeout: 252 seconds]
JJJollyjim has quit [Ping timeout: 276 seconds]
JJJollyjim has joined #scopehal
bvernoux1 has joined #scopehal
bvernoux has quit [Ping timeout: 252 seconds]
bvernoux1 has quit [Read error: Connection reset by peer]
<_whitenotifier-3> [scopehal-apps] azonenberg pushed 1 commit to master [+0/-0/±2] https://git.io/J3eCB
<_whitenotifier-3> [scopehal-apps] azonenberg 38fd845 - WaveformArea: if the cursor never leaves the channel infobox, don't register motion as a drag event. Fixes #322.
<_whitenotifier-3> [scopehal-apps] azonenberg closed issue #322: Increase minimum threshold for dragging channels - https://git.io/JOjoK
juli9610 has quit [Quit: Nettalk6 - www.ntalk.de]
maartenBE has quit [Ping timeout: 260 seconds]
maartenBE has joined #scopehal