When I export analog data from a Logic 2.3.19, the timestamps in the CSV file do not match the times shown at the top of the capture file. For instance, in the screenshot below, the capture shows a sample of 1.568V at 0s : 82 ms : 670 us : 500-ish ns. However, the CSV file (row highlighted in yellow) shows the same sample at 0s : 82 ms : 592 us : 320 ns. My data was sampled at 12.5 MS/s with 4 analog channels (I am only exporting one of these channels).
I have also tried exporting binary data and implement some C# code following the Python example, and arrive at the same result as the CSV file. I tried calculating the sample time using both Single and Double with the same result.
Is this a bug in Logic 2.3.19, or is there something else I need to change in my export to get the timestamps correct?