I have a question on how the ADC samples are related to “real” time.
In the Tool.cpp the time is retrieved from the kernel with Tools::GetTime64(). This is used in AnalyzerSoft.cpp just before retrieving samples. (Service/Source/Analyzers/Soft/AnalyzerSoft.cpp · master · Zred / openZmeter · GitLab) Here I get confused. The time is used in the aggregation function pAggreg200MS function with Timestamp() but it is not related to the Start variable created in line 203.
In the device code (e.g. DeviceV2.cpp) the time seems never to be attributed to the samples.
I am just not sure where the samples coming from the ADC are actually related to time? Is it in pFFTs? Is there an offset between capture and timestamping?