Support for csv format saved by keysight scopes
Opened this issue · 2 comments
jahagirdar commented
The following are the first few lines of the csv file generated by keysight The first column is the time and the second is the signal value....
x-axis,TX1
second,Volt
-113.431850E-03,+4.938284392E+00
-113.428650E-03,+4.953974769E+00
-113.425450E-03,+4.953974769E+00
-113.422250E-03,+4.953974769E+00
-113.419050E-03,+4.902719540E+00
-113.415850E-03,+4.835773935E+00
When I try parsing the above csv I get the following message
python.exe csv2vcd\bin\csv2vcd.real scope_0.csv scope_0.vcd
ERROR: Breakpoint "0 s" not found.
carlos-jenkins commented
This is caused when the script is unable to find time 0 (or the beginning) of the signal in the time column.
https://github.com/carlos-jenkins/csv2vcd/blob/master/bin/csv2vcd#L134
jahagirdar commented
If I write a script to rewrite the log with a timeshift such that the first measurement starts at time 0 instead of -113E-03 can csv2vcd.real parse this format?