knarfS / smuview

SmuView is a GUI for sigrok that supports power supplies, electronic loads and all sorts of measurement devices like multimeters, LCR meters and so on.
GNU General Public License v3.0
130 stars 25 forks source link

Wrong timestamp in CSV export with combined timestamp #58

Open SammysHP opened 11 months ago

SammysHP commented 11 months ago

Describe the bug When exporting data as CSV using "combine all timestamp", the written timestamp is wrong. It uses the timestamp from the highest resolution column even for columns with lower rate.

To Reproduce Steps to reproduce the behavior:

  1. Do a measurement
  2. Export recorded data as CSV, using "combine all timestamps"

Expected behavior Actual time of the measurements.

Screenshots or log Here are two example files, saved from the same session. Output was enabled for approximately 30 seconds.

combined_output_disabled.csv

combined_output_enabled.csv

Enviroment (please complete the following information):