jetperch / pyjoulescope_ui

Joulescope graphical user interface
https://www.joulescope.com
Apache License 2.0
75 stars 23 forks source link

Add option to log full timestamp in statistics CSV #231

Closed mliberty1 closed 4 months ago

mliberty1 commented 9 months ago

Joulescope model

All

UI version

1.0.31

Your idea

The existing implementation logs relative time from the start, like this:

#time,current,voltage,power,charge,energy
0.0,-0.000606298,-0.00107568,6.34368e-07,0,0
0.5,-0.00062769,-0.00115464,7.08265e-07,-0.000313845,3.55877e-07
1.0,-0.000634317,-0.00121747,7.57534e-07,-0.000631004,7.36389e-07
1.5,-0.000631717,-0.00120543,7.43015e-07,-0.000946862,1.10964e-06
2.0,-0.000629812,-0.00117741,7.24348e-07,-0.00126177,1.47356e-06

For some applications, it would be better to log UTC time as ISO 8601. Since this occurs many times, the short form YYYYMMDDThhmmss.fZ is recommended. Omit the "-" and ":" characters.

Does your idea concern a specific OS?

No

mliberty1 commented 4 months ago

Added in 1.0.58