File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818
1919
2020class CSVWriter (Listener ):
21- """Writes a comma separated text file of
22-
23- * timestamp,
24- * arbitration id,
25- * flags (extended, remote, error),
26- * dlc and
27- * data
28-
29- for each message received. Each line is terminated with a platform
30- specific line seperator.
21+ """Writes a comma separated text file with a line for
22+ each message.
23+
24+ The columns are as follows:
25+
26+ ================ ======================= ===============
27+ name of column format description example
28+ ================ ======================= ===============
29+ timestamp decimal float 1483389946.197
30+ arbitration_id hex 0x00dadada
31+ extended 1 == True, 0 == False 1
32+ remote 1 == True, 0 == False 0
33+ error 1 == True, 0 == False 0
34+ dlc int 6
35+ data base64 encoded WzQyLCA5XQ==
36+ ================ ======================= ===============
37+
38+ Each line is terminated with a platform specific line seperator.
3139 """
3240
3341 def __init__ (self , filename ):
You can’t perform that action at this time.
0 commit comments