azonenberg changed the topic of #scopehal to: libscopehal, libscopeprotocols, and glscopeclient development and testing | | Logs:
Degi has quit [Ping timeout: 246 seconds]
Degi has joined #scopehal
Bird|ghosted has quit [Remote host closed the connection]
Bird|ghosted has joined #scopehal
JSharp has quit [Ping timeout: 252 seconds]
JSharp has joined #scopehal
Bird|ghosted has quit [Ping timeout: 240 seconds]
<_whitenotifier-3> [scopehal-apps] azonenberg edited issue #141: Debian packaging -
<_whitenotifier-3> [scopehal-apps] azonenberg commented on issue #141: Debian packaging -
Bird|otherbox has joined #scopehal
<xzcvczx> >_< cpack
Tost has joined #scopehal
<azonenberg> CPack is easy but most distros like packages made their way
<azonenberg> e.g. debian or ubuntu will not upstream a package made with anything but their set of scripts
<azonenberg> CPack will produce a .deb you can install just fine
<azonenberg> but you cant get it into the official repositories
<azonenberg> noopwafel: Looking
<_whitenotifier-3> [scopehal-apps] azonenberg pushed 2 commits to master [+0/-0/±2]
<azonenberg> Whoops, forgot about that one
<_whitenotifier-3> [scopehal-apps] noopwafel e673b82 - default to Release cmake build
<azonenberg> Merged
<_whitenotifier-3> [scopehal-apps] azonenberg a7273e4 - Merge pull request #339 from noopwafel/cmake-release default to Release cmake build
<_whitenotifier-3> [scopehal-apps] azonenberg closed pull request #339: default to Release cmake build -
<xzcvczx> did ?darius? get anything running on macos in the end?
<noopwafel> azonenberg: as usual, thank you :)
<azonenberg> Havent heard anything lately
<azonenberg> So guessing no?
<azonenberg> last update i heard was FFTS being too x86 specific
<xzcvczx> fair enough
<azonenberg> it might have arm32 code but no arm64 iirc
<xzcvczx> oh was darius trying to run on m1
<azonenberg> I believe so
<xzcvczx> then i am not surprised at all
<azonenberg> I think we are going to have to take ffts under our wing and bring it into this century
<azonenberg> it seems the best library available with a compatible license, but it's abandonware
<xzcvczx> damn waikato uni
<azonenberg> So we're probably going to have to fork it and start making updates
<azonenberg> I think it's going to be a good baseline though
<xzcvczx> it still shocks me there is no better one with a compatible licence
<azonenberg> 99% of users just use fftw and gpl their software
<azonenberg> or buy a commercial license to fftw
<azonenberg> as a permissively licensed project neither is an option
<azonenberg> even if i bought a license, it wouldn't transfer to people running forks of our code
<azonenberg> and its not exactly permissive if people have to license fftw to use it
<azonenberg> Also status update... put the pico digital stuff on hold for a day or so to bang out a few quick things in the lecroy driver
<azonenberg> like auto zero support for differential probes
<azonenberg> I'm just working my way down the list of v0.1 tickets and trying to finish everything small that i've put off because i didnt urgently need it
<xzcvczx> ah yeah the wonders of releases you actually have to fix the crap thats not affecting you
<azonenberg> Exactly
<azonenberg> But i'm starting to make v0.1 a more concrete goal
<xzcvczx> do you expect 0.1 within the next month or a bit more cement than concrete?
<azonenberg> think of it like a debian release
<azonenberg> there's no schedule, just a list of things to do
<azonenberg> It will be done when there's no more tickets tagged as v0.1
<xzcvczx> fair enough, i will try and get the bsd stuff sorted next week
<azonenberg> Great. Please also send a PR to scopehal-docs with any relevant information on how to build/use it on your chosen BSD flavor
<xzcvczx> will do
<xzcvczx> will also do that for wayland
<azonenberg> Great
<azonenberg> BTW, longer term somebody had a fix they were talking about switching from glew to another library
<_whitenotifier-3> [scopehal-apps] mubes opened issue #343: History panel enhancements -
<azonenberg> that worked with native wayland, no xwayland
<xzcvczx> oh?
<xzcvczx> well tbh i am still iffy on caring about wayland
<azonenberg> i think its in github comments on that issue
<xzcvczx> only use it currently as on one machine i need seperate dpi on each monitor
<xzcvczx> otherwise its stupidly huge on 2 and normal on other or normal/tiny
<_whitenotifier-3> [scopehal-apps] azonenberg commented on issue #343: History panel enhancements -
<_whitenotifier-3> [scopehal-apps] azonenberg edited issue #343: History view: allow older waveforms to be deleted without waiting for them to fall off the end of the buffer -
<_whitenotifier-3> [scopehal-apps] azonenberg labeled issue #343: History view: allow older waveforms to be deleted without waiting for them to fall off the end of the buffer -
<azonenberg> Yes, that is something that a lot of stuff doesnt handle well
<azonenberg> I'm lucky, I have a 24" 1080p next to a 43" 4K
<azonenberg> the DPI is almost identical, the 43" is basically a 2x2 tile of 22" 1080p panels on one piece of glass
<azonenberg> Long term i want to give the 1080 to my wife as a second monitor for her box and get a second 4K for my desk, but i need a bigger desk first :p
<xzcvczx> 43" wowzer
<azonenberg> yeah its great for pcb layout
<azonenberg> you can see a huge bga fanout all at once
<xzcvczx> it would be indeed
<azonenberg> my work laptop is a 15" 4k which is ridiculous
<azonenberg> its empty resolution, i cant see more detail unless i stick my face right next to it
<azonenberg> i have no interest in 4K for ultra-sharp text without antialiasing etc
<xzcvczx> back in the days when non-crts were new there was one dude who had a 42" on his computer when everyone else was running 20ish..... at that point i thought it was just plain stupid
<azonenberg> I want lots of real estate
<xzcvczx> but i can defenitely see the appeal for pcb layout and other such infinite zoom things
<azonenberg> Yeah exactly
<azonenberg> seeing all the detail under a bga while still having peripheral vision for planning the fanout
<xzcvczx> how far away from you is the 43?
<azonenberg> Also for looking at large waveform displays with lots of protocol decodes, or FPGA/asic sims/LA captures with hundreds of signals
<azonenberg> If I stretch out my arm it almost touches the middle of the display
<xzcvczx> haha yeah also useful there
<azonenberg> so... half a meter or so?
<xzcvczx> although a uberwide could also do that i guess
<azonenberg> When i look right at it, it fills almost my entire FOV
<xzcvczx> oh my bad you said lots of protocol decodes
<_whitenotifier-3> [scopehal-apps] mubes commented on issue #343: History view: allow older waveforms to be deleted without waiting for them to fall off the end of the buffer -
<azonenberg> here's an example looking at both sides of a pcie 2.0 x1 link
<azonenberg> with simultaneous signal integrity, link layer, and transaction layer views
<xzcvczx> if you were just looking at a long ass decode of a single signal (or 2) a uberwide would be more useful i think
<xzcvczx> the eyes look awesome
<xzcvczx> i haven't done anything nearly interesting enough to use eyes yet
<xzcvczx> i really do need to get around to writing a decoder for hte protocol i am playing with though
<d1b2> <mubes> On the subject of monitors, I'm tempted to get a 50" 4K....just so I've got one big work surface. I've got a 27" vertical and a 34" curved at the moment, and I'm always craving more room....just worried I might be going over the top and end up with a 50" TV and no-one to offload in on...
<azonenberg> Lol
<azonenberg> TVs can have higher latency which may be an issue for interactive use. they also like to do all kinds of annoying signal processing
<azonenberg> something labeled as a monitor may cost more but it's going to be closer to just a direct displayport -> panel path
<xzcvczx> mubes: how do you like the curved for work rather than play?
<azonenberg> I have a Philips BDM4350
<xzcvczx> philips? thats a name you dont hear too often here at least anymore
<azonenberg> there's not a lot of large format LCD monitors that are not TVs
<azonenberg> mubes: and yes there are a lot of outstanding issues :P
<azonenberg> there are currently 278 open tickets between scopehal and scopehal-apps
<azonenberg> Of which 47 are currently tagged as blocking v0.1
<xzcvczx> i am quite surprised tvs are any different i figured htey would just shove a tuner, ir receiver and speakers into a monitor and hey look you have a tv
<azonenberg> No
<d1b2> <mubes> I was looking at one of those with 'gaming mode' which allegedly switches off most of the processing.
<azonenberg> TVs like to do all kinds of upsampling, color correction, etc to correct for bad signal sources and oversharpen things
<azonenberg> As well as sniffing pixels to figure out what you're watching and sell metrics data to nielsen etc
<xzcvczx> i thought that would still be part of the tuner end (but i am normally wrong)
<d1b2> <mubes> Good luck with the pixel sniffing....I don't watch TV 🙂
<azonenberg> Me neither lol
<azonenberg> I have one of the last generation of "dumb" TVs upstairs but we just use it for streaming youtube or playing games on
<xzcvczx> dumb tv streaming youtube?
<d1b2> <mubes> I find the curving a bit of a gimmick TBH, I wouldn't pay extra for it in future, and it stops me from panelling it with others
<azonenberg> No a PC attached to it
<azonenberg> the panel itself has no intelligence
<azonenberg> mubes: you just arent laying it out right
<azonenberg> you have to be in a corner
<azonenberg> at one point i had a curve made of three 24" displays meeting at about 120 degree angles
<d1b2> <mubes> Now that could be very cool.
<azonenberg> in my current setup the 43" is straight ahead and the 24" comes off at maybe 150 degrees
<xzcvczx> pffft thats not a corner, a corner is 2 at 90 :P
<azonenberg> it's on a straight desk but is still slightly curved
<xzcvczx> do you code on the 43 or 24?
<d1b2> <mubes> I have plenty of width now, what I miss is height. I want things in my peripheral vision which I can refer to when I need them, e.g. mail
<azonenberg> The 43 is my main display
<azonenberg> the 24 is for email, irc, social media, and documentation i refer to while working on the main display
<xzcvczx> do you use a tiling wm?
<azonenberg> No, although my usual layout is de facto tiled
<azonenberg> I have two editors side by side, often a shell to the right of that
<xzcvczx> that makes sense
<azonenberg> then the space up top is normally either idle or documentation when i'm coding
<xzcvczx> i sorta wish the stacking wms that have smart tiling would actually support more than 2 across
<azonenberg> i normally use the setup as if the display was fixed height, with the content on the 43 height matched to the 24
<azonenberg> then only use the top ~third of the 43 when i fullscreen a large app like kicad
<xzcvczx> i really wish kicad had the ability to load bitmaps in the background
<azonenberg> my desk early on in grad school
<azonenberg> before i had a desktop
<xzcvczx> one monitor for each laptop?
<azonenberg> Two laptops w/ synergy and a 24" on each. the left of those 24s is still in use as my secondary today
<azonenberg> But as you can see i've been using curved setups like this for a very long time, this was ten years ago
<xzcvczx> ah lol
<xzcvczx> omg those ethernet cables :P
Famine- has joined #scopehal
<azonenberg> I lived in a brick building, wifi signals were bad. Also 2011 era wifi was slow, its not like .ac existed or anything
<azonenberg> not even sure if our AP supported N
<azonenberg> We actually got the landlord to let me drill holes in the walls and run cat5 everywhere
<xzcvczx> was N even a thing in 2011
<azonenberg> Good question
<azonenberg> i think we just had a wrt54g at the time
<xzcvczx> surely it was cat5-e in those days
<azonenberg> even if it existed we couldnt use it
<xzcvczx> if only linksys kept making the wrt54 line
<xzcvczx> the proper one not the vxworks one
<azonenberg> late 2011, moved to a curved corner setup which i kept for a long time
<xzcvczx> those looks like ikea desks
Famine_ has quit [Ping timeout: 240 seconds]
<azonenberg> They are
<azonenberg> I still am using one of them now
<xzcvczx> i thought you had standards :)
<azonenberg> It was cheap, it got the job done
<xzcvczx> (i am too)
<azonenberg> i was a grad student with no budget and my roommate was making a trip to ikea with his car
<azonenberg> i needed a desk sooo :p
<xzcvczx> i have small desk currently and only ikea made ones that were suitable size
<azonenberg> this was shortly after moving out west
<azonenberg> Same desks but in a straight line
<azonenberg> the laptops were just being stored there, i didnt actually use them like that
<azonenberg> but the 43 flanked by two 24s became my setup
<xzcvczx> i love the setup on the left
<azonenberg> That was just charging
<azonenberg> i didnt use it like that lol
<azonenberg> There's my personal laptop, the netbook, and my old laptop i didnt use much but had pulled out of storage to run some ultrasonic communications experiments with
<azonenberg> then the one at right was my new work laptop i was setting up
<azonenberg> When i moved to the new house, one of the 24s had to go because i couldnt fit it on a single table
<d1b2> <theorbtwo> My girlfriend and I share a desk that is, iirc, 4 meters of Ikea.
<azonenberg> and i didnt have enough space for the second table end to end, it'd block the door
<azonenberg> so now i'm down to two monitors on one of those two ikea tables until i can buy a desk that's about 0.3m wider
<azonenberg> at which point i plan to buy a second 43 and give the 24 to my wife
<azonenberg> But i've been busy with higher priorities so it hasnt happened yet
<xzcvczx> wheres your lab?
<d1b2> <mubes> I took a pic when it was tidy, as a special event. Various kit has been swapped out since this, but the principle holds.
<xzcvczx> or do you not do that stuff any more?
<azonenberg> me? my lab is on the other side of the house
<azonenberg> in what was a garage when i bought the place
<noopwafel> I'm thinking of buying another desk for $corp stuff and having it physically separate, it seems a waste to buy a second set of monitors but I crave the separation a bit
<xzcvczx> azonenberg: fair enough
<azonenberg> this is the setup there
<noopwafel> but the idea of buying a 43" is also temptin
<azonenberg> (before i installed the new SDA)
<azonenberg> yet another curved corner setup, seeing a pattern? :p
<xzcvczx> oh do you have a chem lab as well?
<azonenberg> Basic but yeah
<azonenberg> just to the left of the electronics bench
<azonenberg> you can see the scope rack at right
<xzcvczx> ah i see why you said basic now :) its right on the fumehood
<azonenberg> lol
<azonenberg> i meant more like very compact, it's one table plus a sink
<azonenberg> The entire lab is 400 square feet or about 37 m^2 and that was before i finished it by adding insulation and stuff to the walls
<azonenberg> so it shrunk in by a bit on all sides
<azonenberg> It's divided into two equal-sized bays, 10x20 feet nominally (again, actual size is a few inches smaller)
<azonenberg> the west bay has the soldering bench at the end, then going down is the mechanical bench with the mill, then the microscopy bench that i need to upgrade severely at some point
<xzcvczx> is still very impressive
<azonenberg> the east bay is two racks of computer equipment and the rest is all storage, no actual working space
<azonenberg> then the chem bench is at one end and the eye wash at the other
<d1b2> <mubes> Must admit, I'm seriously considering moving to a bigger space. Trouble is I had everything soundproofed and fireproofed etc, so it's quite snug ... Just not enough room. Would like some mechanical space too.
<azonenberg> Yeah i would love more space but my wife will kill me if i try to annex any more of the house :p
<xzcvczx> pffft your stuff is obviously cooler thna hers you deserve it :P
<azonenberg> Lol
<azonenberg> anyway then my actual desk is in a 10x20 foot "family room" on the other side of the house
<azonenberg> one end has me and my wife's desks
<azonenberg> the other end has a classroom/conference room space with a projector screen, seating for 4 or so students around a folding table, and a bunch of whiteboards
<azonenberg> The intent is to start hosting training, tutoring, hackathons, etc once it's safe to have guests over
<xzcvczx> dammit why must you be in america
<azonenberg> lol
<xzcvczx> you're in cali eh?
<azonenberg> No, washington. Near but not in seattle
<xzcvczx> dangit, i can't even claim to be going to visit my sister
<_whitenotifier-3> [scopehal] azonenberg pushed 1 commit to master [+0/-0/±7]
<_whitenotifier-3> [scopehal] azonenberg f0ec070 - Added Oscilloscope::CanAutoZero(), GetProbeName(), and AutoZero(). Fixes #305.
<_whitenotifier-3> [scopehal] azonenberg closed issue #305: Add "auto zero" method to zero differential probes -
<d1b2> <theorbtwo> I am often surprised by how many hackers want to give lessons in their homes, rather than starting a hackspace, or finding an existing place to give classes,
<azonenberg> theorbtwo: in my case the issue is that i've been burned waaaay too many times with hackerspaces and shared facilities. People don't respect the equipment and trash everything
<xzcvczx> azonenberg: thats what i meant to ask.... is build_testing broken currently or is it working on linux?
<azonenberg> xzcvczx: It builds fine on linux
<xzcvczx> hmmm okay must just be some bsd/clang oddity
<_whitenotifier-3> [scopehal-apps] azonenberg pushed 2 commits to master [+0/-0/±4]
<_whitenotifier-3> [scopehal-apps] azonenberg 3386659 - Channel properties dialog: added auto zero button for supported instruments/probes
<_whitenotifier-3> [scopehal-apps] azonenberg 06bfaf4 - Merge branch 'master' of
<xzcvczx> last time i tried it it broke not being able to find hte libs
<d1b2> <theorbtwo> I can respect that, yeah, but I also think that to a certian degree, learnung ia just hard on eqipment.
<azonenberg> theorbtwo: By limiting access to the space to me and a small number of invited guests under close supervision i can control the environment more
<xzcvczx> i wasn't sure if it was broken on linux as well as i never had any luck finding <name of lib> before
<azonenberg> xzcvczx: catch2 is not packaged in a lot of distros yet as its pretty new
<azonenberg> i built from source
<azonenberg> theorbtwo: incidentally thats one of the nice things about all of the gear i got from digilent etc
<d1b2> <theorbtwo> For me, starting a space has been the best thing I have ever done with my life.
<xzcvczx> i kept thinking crash2 i just couldn't think of its name
<azonenberg> i can use it for my students doing less fancy stuff and not worry about them blowing out channels on the 16 GHz lecroy :p
<azonenberg> The other thing though is that I live here, i have easy and instant access to everything
<xzcvczx> azonenberg: you sorted out that frontend now?
<azonenberg> i can roll out of bed and be collecting data 90 seconds later
<azonenberg> xzcvczx: on the 4 GHz scope? i'm confident its an electrical fault in the 1M ohm path on channel 2, probably in or before the first attenuators because the offset scales as you change v/div
<azonenberg> I have an RMA number and am going to package it up to send back shortly
<d1b2> <theorbtwo> Oh, yeah, I wasn't thinking give everything to a space!
<azonenberg> theorbtwo: the point of doing stuff here is access to the nice gear though
<xzcvczx> azonenberg: oh yay now you get ot be without it for a week or 2 :)
<azonenberg> xzcvczx: yeah
<xzcvczx> any idea what sorta classes you gonna do yet?
<azonenberg> boo hoo, i have only three other scopes for a few weeks :p
<xzcvczx> well classes/training
<xzcvczx> my heart bleeds for you azonenberg it truly dodes
<xzcvczx> does
<d1b2> <theorbtwo> To some degree, I get you. To some degree, what are learners doing on a 16GHz scope?
<azonenberg> xzcvczx: And no i havent figured out yet. But my plan was to focus on more advanced subject matter
<azonenberg> although i could certainly do basic "learn to solder" etc too
<xzcvczx> ouch are you claiming i can't solder? :P
<azonenberg> Lol
<d1b2> <theorbtwo> Anywho, different strokes for different folks.
<azonenberg> I was more thinking advanced soldering and rework
<azonenberg> inner layer pcb rework techniques
<azonenberg> hand soldering 01005s
<azonenberg> I definitely plan to do some training on oscilloscope probing
<azonenberg> how to set up probing systems at all level
<azonenberg> choosing a good test point, choosing the correct probe, mechanically how to make it all work out
<d1b2> <theorbtwo> I would like to see your probing class as a video!
<azonenberg> Yeah i'm gradually refining it
<azonenberg> I did a ~15 minute video a while back that had bad sound quality
<azonenberg> i did a 3ish hour more free-form livestream
<xzcvczx> lol yeah your stuff is probably much better than mine.... mine was 3d print a circle shove some pogo pins through it then screw it down above circuit board
<azonenberg> yeah i want to cover details of different kinds of probe positioners
<azonenberg> properly securing solder in probes
<azonenberg> How and when to solder extension wires to test points for probing, and when you can get away with that vs when it'll be too intrusive WRT signal quality
* xzcvczx is sorta glad he hasn't had to deal with stupidly fast signals yet
<d1b2> <theorbtwo> I should probably get/make some bipods for my poking around of shit.
<azonenberg> the PMK bipods pico rebrands are very reasonably priced
<azonenberg> i think 25 USD at tequipment?
<azonenberg> you could print your own but between the time/cost of that, plus putting on nice rubber feet and getting a big bolt or something in the core to add more mass
<azonenberg> i'm not sure it's worth it
<azonenberg> yeah $25 normally, $24.50 member discount
<d1b2> <theorbtwo> I mostly have either limited myself to things that are brought out to something I can shove an 0.1 inch header in, or holding with one hand and fiddling with the scope 3irh the other.
<azonenberg> yeah, meanwhile i had a setup at work just this past week that used all 16 logic analyzer probes on my LeCroy plus a solder-in power rail probe
<xzcvczx> azonenberg: do you have any single piece of equipment that could do what bunnie could not on the original xbox?
<d1b2> <theorbtwo> Yeah, I am sometimes too much of a cheap bastard. I look at that and think "you want HOW MUCH for a glorified clothes pin"?
<xzcvczx> azonenberg: aka reading hte ?hypertransport? bus?
<azonenberg> xzcvczx: how fast is hypertransport again?
<azonenberg> i mean, i can sniff 10G ethernet and pcie gen2
<azonenberg> probably gen3, just haven't tried
<xzcvczx> haha yeah not a problem then
<azonenberg> gen4 might be pushing it but i doubt there's anything from the original xbox era i couldn't sniff
<azonenberg> theorbtwo: yeah in my case i have an actual job in the field so i have a bit more budget to work with, but i'm super tight on time
<xzcvczx> i think he said the big problem in his case was the high number of signals combined with (for the time) high speed
<azonenberg> Yeah. I would probably build something because while my scopes could read individual signals you have limited memory and channel count
<azonenberg> I'd probably rig up something to talk to MAXWELL, and actually finish building it
<d1b2> <theorbtwo> Yeah, I am an unemployed hobbyist. Very different set of priorities.
<xzcvczx> ah gah it was only 400MB/s
<azonenberg> xzcvczx: yeah that's easily within reach, i just couldnt see *all* of the signals with my scope
<azonenberg> I would probably do something similar to what he did: building a custom flex solder-in probe that solders across the bus
<azonenberg> then outputs LVDS or something to an FPGA
<azonenberg> MAXWELL is basically designed for exactly this use case
<xzcvczx> lol
<azonenberg> 96 channels at up to about a Gbps data rates each
<azonenberg> streaming into ddr3 then out 40GbE
<xzcvczx> is that the one with the insanely priced fpga?
<azonenberg> Depends on your defnition of insane... before the current shtorages which probably have spiked prices a ton if you can find them at all
<azonenberg> it was around $400
<azonenberg> Which i would consider a midrange fpga
<azonenberg> insanely priced is when you start getting into virtexes with five digit price tags
<xzcvczx> there was one you were talking about iirc that was like 10s of k
<azonenberg> I've never planned a design with one of them
<xzcvczx> oh my bad i thought you were
<azonenberg> VOLLUM and MURDOCK, my higher end scope plans, will use $3500 ADCs on every channel
<azonenberg> in the 40 Gsps case four of them per channel
<azonenberg> But i havent figured out what kind of FPGA i'd need to back that much data yet
<azonenberg> those are years down the road and if i'm lucky by the time i get to them, adc prices will have come down a bit
<xzcvczx> well its probably 10x that currently with the chip shortage
<azonenberg> no its just nonexistent lol
<azonenberg> unavailable at any price prob
<xzcvczx> ouch
<d1b2> <mubes> You need to snuggle up to one of the FPGA don't have to pay sticker prices once they're your bestist mate, but I'm sure you know that.
<xzcvczx> azonenberg: maybe you can convince your wife to become ceo of a fpga/adc maker :)
<azonenberg> lol
<azonenberg> Does anybody know of any other scopes besides recent LeCroy WaveMaster/SDA/DDA's that have multiple inputs on a single channel connected via some kind of mux?
ericonr has quit [Ping timeout: 246 seconds]
ericonr has joined #scopehal
<_whitenotifier-3> [scopehal] azonenberg pushed 2 commits to master [+0/-0/±6]
<_whitenotifier-3> [scopehal] azonenberg 23d2826 - Oscilloscope: Added input mux support
<_whitenotifier-3> [scopehal] azonenberg f3000bf - LeCroyOscilloscope: Added logic to detect SERDES trigger (but can't actually use it yet). Implemented ProLink/ProBus input mux for SDA/DDA/WaveMaster 8Zi series. Fixes #299.
<_whitenotifier-3> [scopehal] azonenberg closed issue #299: LeCroyOscilloscope: add A/B input mux selection for WaveMaster and other scopes with ProBuS+ProLink inputs -
<_whitenotifier-3> [scopehal-apps] azonenberg pushed 1 commit to master [+0/-0/±3]
<_whitenotifier-3> [scopehal-apps] azonenberg 13ac1c7 - ChannelPropertiesDialog: added input mux support
<_whitenotifier-3> [scopehal] azonenberg commented on issue #332: Add APIs for querying max bandwidth of a channel -
<azonenberg> Is anyone here interested in adding 5000D series support to the PicoScope driver? Preferably someone who does *not* currently have a picoscope
<azonenberg> Pico is thinking of sending out a dev unit to someone willing to put in the time
<azonenberg> Obviously it's an expensive enough piece of hardware that some level of commitment to actually get the driver working is implied
<azonenberg> I could do it, but i figure somebody else could probably benefit more from having access to one - I don't exactly need another scope :p
<azonenberg> Unsure if it would be a loaner or you'd get to keep it, but either way
<azonenberg> you'd have access to it at least for the duration of the development
<xzcvczx> i do not have a picoscope
<xzcvczx> i am sure they dont want to send it halfway round the owrld though
<azonenberg> What country are you in?
<xzcvczx> nz
<azonenberg> Yeah that's a hike
<azonenberg> They're in the UK and they sent one to me in the US though. I forget if it was direct or from a distributor
<azonenberg> If you're actually interested and willing to put in the work, PM me your email address and I'll put you in touch with Trevor to discuss details
<azonenberg> " If other developers are working to support our devices we'll be very willing to help them out with loan instruments, tech support etc.
<azonenberg> We'd be highly interested to get support for the PicoScope 5000D models, if someone would like a crack at that. Put them in touch with me, as Alan is now on his month-long sabbatical."
<azonenberg> (alan being the CEO, my original point of contact)
<azonenberg> noopwafel, xzcvczx: see email, I introduced you both to Trevor from Pico
<xzcvczx> yup, just saw it
<azonenberg> No need to CC each other on replies but please keep me in the loop on at least initial conversations w/ Trevor so I know how things between you and pico are going
<xzcvczx> will do
<azonenberg> So at this point it looks like the 6000E series driver is close to done, 3000 is coming along nicely, you'll be working on 5000
<azonenberg> That leaves the 4000 series (high resolution low bandwidth, up to 16 bits but topping out at 20 MHz) and the entry level 2000 series (up to 100 MHz 8 bit) and we'll have the whole current lineup i think
<xzcvczx> all the picoscope stuff just going into the picoscope.cpp file or do you think it would be worth rearranging and subclassing?
<azonenberg> The PicoOscilloscope class is a generic socket based driver that talks to scopehal-pico-bridge via a common protocol
<xzcvczx> oh my mistake
<azonenberg> There's a little bit of model specific logic in there, mostly encoding things about legal sample rate / ADC mode configurations
<azonenberg> you will have to touch that for the 5000 series as those are FlexRes too
<azonenberg> scopehal-pico-bridge is where all of the stuff that actually calls the Pico API lives
<azonenberg> That's being refactored soon, i'm going to coordinate with noopwafel on that
<azonenberg> I expect by the time you get any dev hardware we'll have that straightened out
<xzcvczx> nice
<azonenberg> Among other things the binary won't be called ps6000d anymore as it's not just for the 6000 series
<xzcvczx> i will probably need windows for testing?
<azonenberg> The bridge is only tested on linux so far
<azonenberg> no idea if it will work on BSD or not
<azonenberg> (it links to their blob driver so that will likely be the limiting factor)
<azonenberg> it can probably be made to build on windows but we havent done that yet
<azonenberg> the glscopeclient side should work fine on any supported platform
<azonenberg> It does not have to be the same computer the bridge is on
<noopwafel> pretty sure I can borrow a few 2000-series scopes to just hack a driver up
<xzcvczx> well i have both linux and bsd so it doesn't matter if its non-bsd
<azonenberg> noopwafel: perfect
<xzcvczx> i am just slowly if i can moving to bsd on most of my machines but the higher end ones aren't supported anyways
<azonenberg> xzcvczx: eventually we need to get the bridge to compile and run on windows but thats a lower priority item
<azonenberg> and it should be the same on any scope model
<xzcvczx> well that makes it easier for me as i currently dont have any bootable windows machines
<xzcvczx> azonenberg: did they send the unit to you using one of the more courier methods ala fedex/ups/dhl or royal mail?
<xzcvczx> (i use a different address depending on the method)
<xzcvczx> (if you remmeber)
<xzcvczx> noopwafel: do you have the mso?
<azonenberg> xzcvczx: I dont remember how they sent it, but probably
<azonenberg> i wanna say dhl
<xzcvczx> ok thank you
<xzcvczx> sorry noopwafel i cut you out of the reply there but only because my home address was in it
<noopwafel> as azonenberg said, not necessary to keep me in replies I think
<xzcvczx> normally i would just reply all and be done with it
<noopwafel> azonenberg: your MX blacklists my smtp so no CC for you, apparently ;p
<noopwafel> "move the whole thing to fastmail" is on my TODO list for this month anyhow.
<xzcvczx> what are you using at the moment?
<noopwafel> my own legacy mail setup on a VPS which I am not maintianing :p
<noopwafel> or rather, not keeping up with all the latest mail auth stuff
<azonenberg> noopwafel: lol. my mail is currently on godaddy, i need to find a new host but it's been low priority for the past 5 years
<azonenberg> and probably will continue to be for the next 5
<xzcvczx> gah knowing godaddy they are probably sending spam out in your name
<azonenberg> lol
<noopwafel> but basically: good to be in touch, thanks for the offer, will reach out if I need hw for testing.
<azonenberg> Yep, about what i expected
bvernoux has joined #scopehal
Tost has quit [Ping timeout: 240 seconds]
<bvernoux> hello
<bvernoux> I have just pushed fixes for MSYS2 MINGW64 =>
<bvernoux> It include also latest updates from azonenberg ;)
<bvernoux> it will be nice to merge it even if it is a draft
<xzcvczx> azonenberg: i assume the pico blob is userspace (haven't fetched it yet to look)
<bvernoux> xzcvczx, very good question I think it is userspace as it is just a static lib
<bvernoux> which probably use libusb behind (to be checked as it is a blob)
<bvernoux> Anyway latest version support Pico3000A on Windows & Linux ;)
<bvernoux> and also Pico6000A
<xzcvczx> azonenberg: in that case should be usable on bsd
<bvernoux> xzcvczx, what Picoscope do you have ?
<xzcvczx> bvernoux: probably getting a loan 5000
<bvernoux> Picoscope5000 is not supported so far
<xzcvczx> yeah i am doing the dev for it
<bvernoux> only Pico3000A & Pico6000A
<bvernoux> ha ok
<xzcvczx> is what the loan is for
<azonenberg> bvernoux: Trevor from Pico is interested in getting 5000 series support
Tost has joined #scopehal
<bvernoux> yes nice
<azonenberg> So i hooked him up with xzcvczx who was interested in writing the driver
<bvernoux> ok great
<bvernoux> azonenberg, do you know if the pico sdk blob (under linux) use libusb ?
<azonenberg> bvernoux: I assume so, i dont recall building any kernel components
<azonenberg> but i havent looked at the binaries at all
<azonenberg> $ldd /opt/picoscope/lib/
<azonenberg> (0x00007ffd551c3000)
<azonenberg> => /lib/x86_64-linux-gnu/ (0x00007f5cc2903000)
<azonenberg> So yeah
<bvernoux> ok good
<xzcvczx> nice
<bvernoux> that will definitely simplify support of different Linux distribution
<bvernoux> and if one day Pico release the source code it will be nice
<azonenberg> Long term I would like if libscopehal became their official API, and they just had a new driver class in libscopehal that called directly out to libusb
<azonenberg> But who knows
<azonenberg> Short term though, pico stuff is the most usable platform for low end to midrange right now
<azonenberg> on the high end they have nothing and lecroy is the winner
<bvernoux> yes
<bvernoux> Tek is not far too ;)
<bvernoux> MSO64 series are very nice even if it seems ethernet SCPI is not very good (buggy/slow)
<xzcvczx> azonenberg: do you know if picoscope would "support" a fully open driver? (support being not frown or worse at it rather htan actively support it)
<azonenberg> bvernoux: mso6 is the next best, yes. but it has a long ways to go
<azonenberg> if i could work with tek engineers to improve performance i bet it could be made a lot better
<bvernoux> yes the hardware seems very good but they have work to do on SW side especially SCPI IIRC
<azonenberg> xzcvczx: That has always kinda been my end game but I didn't want to push it at this stage of things
<xzcvczx> ok
<bvernoux> azonenberg, I checked with Keysight they have nothing compared to MSO6 especially the 6B series they are very far in price ...
<bvernoux> azonenberg, they told me to check with R&S too ...
Tost has quit [Ping timeout: 260 seconds]
<bvernoux> It clearly seems their marketing guys are not interested to sell a scope with such features/price range like MSO 6B
<bvernoux> Their proposal in same price range was a poor old 8bits scope not extensible to 6GHz BW like Tek Serie 6B ...
maartenBE has quit [Ping timeout: 265 seconds]
<GenTooMan> for some reason I am very glad azonenberg didn't choose to use python ... for the code base.
<xzcvczx> only some reason?
<GenTooMan> I am trying to be purposefully vague as to why to avoid python enthusiasm getting in the way of reality.
<azonenberg> lol
<azonenberg> somehow i dont think python would work well for this kind of stuff
<azonenberg> there's a reason numpy exists
<azonenberg> To shoehorn c/c++/asm number crunching into glue written in python, because python is terrible at this sort of stuff :p
juli9611 has joined #scopehal
<GenTooMan> yes and those python implementations never can be done with "a few libraries" I love using GNU radio but what underlies it is a lot of C++ code.
<Degi> Uhh wow the MSO 6B sound really nice
<Degi> My rigol has a bit of noise problems at 350 MHz
<Degi> Well, its also 1/40 of the price
<Degi> "Add a Windows 10 operating system" Not sure I'd call that a capability lol
<Degi> But it seems like they might be hackable too
<Degi> You can request a trial for extended record length... oof
<azonenberg> Degi: well
<azonenberg> the base embedded linux (ubuntu based) UI gives you no access to the underlying OS
<azonenberg> it runs the scope app and thats it
<azonenberg> (although people have hacked it)
<azonenberg> the windows firmware lets you run arbitrary code
<Degi> Hmmh
<azonenberg> which is an upsell
<Degi> Is there something like the cable side of a BNC connector but PCB mount?
<monochroma> Degi: edge-launch BNC
<Degi> Hmh, they all only seem to be the inside part... Like on the fast pulse generator thingie which you can directly put on a scope... I only found the connectors on Ebay, maybe I can get one off of there but lack of datasheet is meh since then I have to measure it by hand...
<GenTooMan> azonenberg, like doom ?
* GenTooMan couldn't resist :D
<azonenberg> Degi: I've tried to find them
<azonenberg> they exist, lecroy uses them in their probus devices, but i think they may be custom
<azonenberg> the closest i've found has been a through hole BNC with two pins cut off
<Degi> file:///tmp/mozilla_user0/112653-1.pdf I found this one, it should work for PCB mount but with screws
<Degi> Though I have a device here with a weird connector which fits inside of a BNC and is PCB mount (but I guess then the impedance may not be matched) for a CB radio
<azonenberg> That's right angle
<azonenberg> for my use case i needed edge launch
<azonenberg> and i dont think it exists
<Degi> Hmh yes it might be hard to get...
<monochroma> maybe poke semtec
<monochroma> er
<monochroma> samtec
<azonenberg> Poking semtex is generally ill advised if you're not familiar with safe handling of explosives :p
<monochroma> :P
* GenTooMan suddenly remembers one of the engineers at work getting a magazine from the ISEE
Tost has joined #scopehal
JJJollyjim has quit [*.net *.split]
_whitenotifier-3 has quit [Ping timeout: 245 seconds]
JJJollyjim has joined #scopehal
promach3 has quit [Ping timeout: 246 seconds]
JJJollyjim has quit [Ping timeout: 276 seconds]
juli9611 has quit [Quit: Nettalk6 -]
promach3 has joined #scopehal
promach3 has quit [Ping timeout: 245 seconds]
bvernoux has quit [Read error: Connection reset by peer]
JJJollyjim has joined #scopehal
promach3 has joined #scopehal
Tost has quit [Ping timeout: 240 seconds]
EmilJ has joined #scopehal
<kc8apf> Went to find a link to glscopeclient to send someone. Realized there isn't anywhere that gives a good overview of what it is.
<d1b2> <Darius> I tried building scopehal (on OSX) after updating all my ports (eg gtk etc) but I still get - std::__cxx11::basic_string
<d1b2> <Darius> I tried building scopehal (on OSX) after updating all my ports (eg gtk etc) but I still get -
<d1b2> <Darius> too much C++ for my poor brain