azonenberg changed the topic of #scopehal to: libscopehal, libscopeprotocols, and glscopeclient development and testing | https://github.com/azonenberg/scopehal-apps | Logs: https://libera.irclog.whitequark.org/scopehal
Degi_ has joined #scopehal
Degi has quit [Ping timeout: 256 seconds]
Degi_ is now known as Degi
<azonenberg> New AKL-PT5 test board on the way, should be here mid week
<azonenberg> Yep, tracking says ETA Weds
<azonenberg> This one uses a single 350 ohm bog-standard 0402 resistor and a 100 ohm Vishay HML01
<azonenberg> as well as removing some extra ground plan to reduce input capacitance
nelgau has quit [Remote host closed the connection]
nelgau has joined #scopehal
nelgau has quit [Remote host closed the connection]
nelgau has joined #scopehal
Degi_ has joined #scopehal
Degi has quit [Ping timeout: 256 seconds]
Degi_ is now known as Degi
nelgau has quit [Remote host closed the connection]
nelgau has joined #scopehal
nelgau has quit [Ping timeout: 256 seconds]
nelgau has joined #scopehal
nelgau has quit [Ping timeout: 256 seconds]
Bird|ghosted has quit [Remote host closed the connection]
Bird|ghosted has joined #scopehal
bvernoux has joined #scopehal
GenTooMan has quit [Quit: Leaving]
GenTooMan has joined #scopehal
nelgau has joined #scopehal
<d1b2> <mokomull> @dannas I got your SDS1000 branch running on my 1104X-E last night and started poking around the codebase — anything you'd like me to tackle? I read through the Programming Guide to figure out what the waveform data looks like, at least 🙂
<d1b2> <dannas> @mokomull Maybe add triggers?
<d1b2> <dannas> I just found some time this evening and am about to add displaying of the captured waveforms.
<d1b2> <dannas> Let's see if I can give you a link... Just a sec
<d1b2> <mokomull> nice, hopefully the existing code is close enough for parsing the 8-bit samples
<d1b2> <dannas> The triggers that the sds2xxx/5xxx drivers supports are registered here: https://github.com/dannas/scopehal/blob/sds1104xe/scopehal/SiglentSCPIOscilloscope.cpp#L2934
<d1b2> <dannas> And the handling for triggers seems to start somewhere around here.
<d1b2> <mokomull> aye, I'll have a look probably tomorrow evening UTC-8
<d1b2> <dannas> I've used this script that relies on pyvisa for experimenting with SCPI https://gist.github.com/dannas/5cb06b883b306704e8319261c61878cb
<d1b2> <dannas> Re 8-bit sampling. There is already some code present for converting a downloaded trace into a format expected by glscopeclient. So I think it will be pretty straight forwared. (famous last word)
<d1b2> <dannas> I do have a bug in the code such that I need to run that siglent.py script first before I start glscopeclient.
<d1b2> <dannas> Probably some state variable that I haven't setup correctly.
<d1b2> <dannas> Let's see if I can figure out what that is about as well. Without that fixed, my branch won't properly work for you.
<d1b2> <mokomull> interesting, I didn't notice that issue. it did randomly re-enable channels I wasn't using once, though.
<d1b2> <dannas> Oh, it worked for you on first try? Interresting.
<d1b2> <dannas> @mokomull I started experimenting with triggers. There are some small notes about the format here: https://gist.github.com/dannas/5cb06b883b306704e8319261c61878cb#file-siglent_scpi-py-L122 Talk to you tomorrow.
<d1b2> <mokomull> Thanks for the pointers!
Degi has quit [Ping timeout: 240 seconds]
Degi has joined #scopehal
<d1b2> <dannas> Wow, there are quite a few different types of Waveforms in scopehal. But I just have to deal with Waveform<char>
<d1b2> <mokomull> I don't have the logic analyzer add-on to try out the digital signals on it 😦
<d1b2> <dannas> @mokomull me neither. It's so annoying that they had to create a separate dongle instead of doing like the Rigol and keysights where the logica analyzer is fully integrated into the scope.
<d1b2> <dannas> The worse thing is I don't think that dongle actually does much. Maybe someone has found a way to hack around it.
<d1b2> <mokomull> it's a separate dongle and a license key for the software!
<d1b2> <dannas> The license key can be obtained with siglent hack script that circulates on the Internet.
<d1b2> <dannas> Though if you do use it, you've voided your warranty and it is a violation of what Siglent allows you to do.
bvernoux has quit [Quit: Leaving]
nelgau has quit [Remote host closed the connection]
nelgau has joined #scopehal
nelgau has quit [Ping timeout: 240 seconds]
nelgau has joined #scopehal
nelgau has quit [Ping timeout: 240 seconds]
nelgau has joined #scopehal
nelgau has quit [Ping timeout: 256 seconds]
nelgau has joined #scopehal
nelgau has quit [Ping timeout: 256 seconds]
nelgau has joined #scopehal
nelgau has quit [Ping timeout: 240 seconds]
<azonenberg> dannas: specifically AnalogWaveform is the type you normally will be dealing with in a scope driver
<azonenberg> Which is an analog fp32 value for each sample
<azonenberg> but yes there's a ton of other ones for protocol decodes etc