The csv import logs a few debug messages that might be helpful here. On Linux, specifying -l 5 when calling sigrok-cli makes these visible.
I’m not sure how to do it on Windows. Maybe sigrok-cli works in the command line there, too? On Fri, Oct 16, 2020 at 12:46 PM sdbbs <s...@brothers-sons.dk> wrote: > Hi all, > > Apologies in advance if I'm in the wrong forum for asking this - if so, > please let me know where I can ask this instead. > > I have seen https://sigrok.org/wiki/File_format:Csv - and from the > example called: > > > Mixed signal data in arbitrary order. Timestamps and automatic > samplerate. > > ... it is implied, that it can accept time in floating point format - but > it is unclear what the units are. > > > So, I have this test.csv file, which is attached - and here is a snippet: > > ``` > Time[s], Ch2, Ch3, Ch4, Ch5, Ch6, Ch7 > 0.000000000000000, 0, 0, 0, 0, 0, 0 > 1.616108640000000, 0, 0, 0, 0, 1, 0 > 1.616109120000000, 1, 0, 0, 0, 1, 0 > ... > ``` > > Here, time column has floating point values, with the meaning/unit of > seconds. > > So, using Pulseview 0.5.0-git-9d307c6 on Windows 10, I click "Import > Comma-separated values...", choose test.csv, and then enter `t,l,l,l,l,l,l` > for the "Column format specs" argument, and leave everything else as is > (see attached pv_test_csv_import.png) > > Once the import is done, I get the visualization shown on the attached > pv_test_csv_shown.png - as you can see, the entire range of the capture > shown is about 4500 ns, that is 4.6 us - which has nothing to do with the > timestamps as given in the .csv file (first timestamp is 0, next one is at > 1.61 seconds!). > > So - is it possible to "persuade" Pulseview, to somehow interpred the > timestamp column as floating-point seconds? > > Thanks in advance for any answers! > > _______________________________________________ > sigrok-devel mailing list > sigrok-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sigrok-devel >
_______________________________________________ sigrok-devel mailing list sigrok-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sigrok-devel