azonenberg changed the topic of #scopehal to: ngscopeclient, libscopehal, and libscopeprotocols development and testing | https://github.com/ngscopeclient/scopehal-apps | Logs: https://libera.irclog.whitequark.org/scopehal
Degi has quit [Ping timeout: 240 seconds]
Degi has joined #scopehal
<azonenberg> Ok soooo hmm
<azonenberg> I'm thinking about how i want to do bringup of my intermediate bus converter board
<azonenberg> with ngscopeclient
<azonenberg> The upstream power supply will be providing 48V DC at up to ~1.6A peak, and recording voltage/current
<azonenberg> this will then go through a cable, incurring some losses
<azonenberg> then a voltage divider where it's digitized by the ADC on the converter board to record the actual voltage after losses seen by the DUT
<azonenberg> There is also a shunt on the 48V bus which will be monitored by the ADC, this current reading should match the current sourced by the power supply if all is well
<azonenberg> Then it's stepped down to 12V, goes through another voltage monitor and shunt, then out through a load switch to an external electronic load
<azonenberg> the load will record the final voltage and current, after transmission losses, that it sees
<azonenberg> additionally, there's an i2c temp sensor on the converter
<azonenberg> I don't have a proper setup for measuring ripple on the 48V rail as my RP4030s don't go that high (I eventually want to buy an RP4060 which does)
<azonenberg> So for now i'll ignore that
<azonenberg> But I will be measuring ripple on the 12V output with a scope
<azonenberg> So all told the quantities i'm going to want to plot, as i sweep input and output voltage/current, are input voltage at supply, input current at supply, input voltage at DUT, input current at DUT, board temperature, output voltage at DUT, output current at DUT
<azonenberg> output voltage at load, output current at load
<azonenberg> output ripple
<azonenberg> and then some derived quantities like input/output power, power lost in cables, power lost in conversion, efficiency, etc
<azonenberg> The issue being, several of these sensors are on the MCU and the only interface i have to get that data off is a serial port
<azonenberg> i can print the data any way i want
<azonenberg> but fundamentally, how do i want to acquire scalar data via serial port and put it into scopehal? i feel like this is a common enough use case i should have a somewhat reusable platform for doing it
lain has quit [Server closed connection]
lain has joined #scopehal
miek has quit [Server closed connection]
miek has joined #scopehal
<juh> azonenberg: re above, while setting up a transport shim like we talked about looks pretty simple, documentation will be critical for that, especially for the non-dev users. once you showed me the trivial shim, it made sense, but i wouldn't have guessed how to construct it on my own
<azonenberg> juh: Yeah. Once I build an initial PoC I'll probably build some kind of documentation for it in the driver section of the manual
<azonenberg> There's other open questions like if i want to make a new instrument class for this sort of thing
<juh> that seems like a good place for it
<azonenberg> since right now, driver instantiation is based on the primary device class
<azonenberg> (Which might also need to change, it might make more sense to unify some of that)
agg has quit [Server closed connection]
agg has joined #scopehal
<_whitenotifier> [scopehal-apps] alpCaner starred scopehal-apps - https://github.com/alpCaner
<_whitenotifier> [scopehal-apps] vladimirnesterov starred scopehal-apps - https://github.com/vladimirnesterov
Stary has quit [Ping timeout: 240 seconds]
Stary has joined #scopehal
vup has quit [Server closed connection]
vup has joined #scopehal
anuejn has quit [Server closed connection]
anuejn has joined #scopehal
_whitenotifier has quit [Server closed connection]
t4nk_fn has quit [Server closed connection]
t4nk_freenode has joined #scopehal
elms has quit [Server closed connection]
elms has joined #scopehal
<d1b2> <tetrikitty> hi! i'm trying to install ngscopeclient on windows following these instructions and my first attempt failed because my username had a space in it so there was a space in the file path, so i made a new account with no spaces to try the install again from the start
<d1b2> <tetrikitty> but i think something left over from the previous attempt is messing with this attempt, because i'm getting this error
<d1b2> <tetrikitty> does anyone know if there's a way to salvage this?
nelgau has quit [Read error: Connection reset by peer]
nelgau has joined #scopehal
mxshift has quit [Server closed connection]
mxshift has joined #scopehal
juh has quit [Server closed connection]
juh has joined #scopehal
Stephie has quit [Server closed connection]
Stephie has joined #scopehal
<d1b2> <azonenberg> @bvernoux can you assist? ^
t4nk_freenode is now known as t4nk_fn
florolf has quit [Server closed connection]
florolf has joined #scopehal