<_whitenotifier-8>
[scopehal-apps] azonenberg 088660b - Fixed bug where measurements without scalar outputs vanish in the filter graph editor. Fixes #807.
<ablu>
Hi! Is there any way to sync in a stream of values while preserving some kind of time information? It looks like the csvstream allows me to stream arbitrary data, but it does not look like it allows me to preserve some timing info (such as a streamed .vcd format)?
<ablu>
Hm. Also took a look at whether I could expand the CSVStreamInstrument to cover a time import. But it seems to use a quite different abstraction compared to the oscilloscope implementations and the CSVImportFilter so that does not seem to be a trivial add?
ablu has quit [Ping timeout: 276 seconds]
ablu has joined #scopehal
<ablu>
Is there any recommendation on how to navigate the source code? .clangd dislikes that there are no includes in the headers of stuff that is used there and throws me bazillion errors which render things like "find usages" broken.
<_whitenotifier-8>
[scopehal-apps] azonenberg fdbf546 - Update to latest scopehal-docs
<_whitenotifier-8>
[scopehal-apps] azonenberg e85aa3d - Fixed bugs: packet manager does not keep a reference to the filter (and can thus outlive it); packet managers not cleared when session is cleared
<azonenberg>
ablu: so, as of now, the csv stream instrument is meant for real time sensor readings from an embedded device
<azonenberg>
the intent is that you have a UART or ETM trace stream or similar logging voltages, temperatures, whatever and you use ngscopeclient to display them, along with perhaps external power supply or multimeter measurements or whatever
<azonenberg>
If you want timestamps on the data you're probably looking at something more like vector waveforms than scalar
<azonenberg>
fundamentally the main datatypes we have are waveforms (vector of samples plotted against some other quantity, usually but not always time)
<azonenberg>
and scalars (single values with an attached unit)
<azonenberg>
You can convert scalars to vectors with the trend filter which is intended to plot a slowly changing value like a multimeter reading over time
<azonenberg>
there is currently no filter to do the inverse IIRC, but it's planned
<azonenberg>
i normally just use a text editor, i'm not sure if other devs use IDEs of some sort
<azonenberg>
but generally speaking if you are trying to stream in waveform data you probably will want that to be an instrument driver that generally behaves in an oscilloscope-esque fashion
<azonenberg>
what's the end goal?
<azonenberg>
i.e. what kind of physical device are you working with, what are you measuring, what do you want to do with the data?