I am trying to save the data recorded from the demo visualizer using the AWR1642boost and it saves a dat file. On the E2E I have found 2 versions of the parseTLV.py but in both versions the program stops with the below error:
Traceback (most recent call last):
File "c:\Python27\rec_ti\parseTLV.py", line 92, in <module>
for length, frameNum in tlvHeader(rawData):
File "c:\Python27\rec_ti\parseTLV.py", line 65, in tlvHeader
tlvType, tlvLength = tlvHeaderDecode(data[:8])
File "c:\Python27\rec_ti\parseTLV.py", line 12, in tlvHeaderDecode
tlvType, tlvLength = struct.unpack('2I', data)
struct.error: unpack requires a string argument of length 8
In python 3.7 the error is:
File "c:\Python37\rec_ti\parseTLV.py", line 49
print "Improper TLV structure found: ", (data,)
^
SyntaxError: invalid syntax
I would like to load the values in Matlab. Is there any version of the parser that I can use?
Thanks.