scimax
Hi @yetifrisstlama , Thanks for the script! I used it with a directly exported .trc file first, but I also wanted to use data I exported as labnotebook (.lnb). So I was able to unpack the notebook, but the contained .trc file can not be read via `readTrc()`. ```--------------------------------------------------------------------------- UnicodeDecodeError Traceback (most recent call last) <ipython-input-39-f7bc7e777e0d> in <module>() 1 2 fName = "MyLabNotebook--00000/C4.trc" ----> 3 datX, datY, m = readTrc.readTrc( fName ) ~\path\to\readTrc.py in readTrc(fName) 61 # Get Instrument info 62 #------------------------ ---> 63 d["INSTRUMENT_NAME"] = readX( fid, "16s", wdOffset + 76 ).decode().split('\x00')[0] 64 d["INSTRUMENT_NUMBER"]= readX( fid, endi+"l", wdOffset + 92 ) 65 d["TRACE_LABEL"] = readX( fid, "16s", wdOffset + 96 ).decode().split('\x00')[0] UnicodeDecodeError: 'utf-8' codec can't decode byte 0xeb in position 12: invalid continuation byte ``` I would try to fix this on my own, but I don't where to look for. For sure, it's line 63 in the source code, but I don't know what's the difference between the pure .trc file and the extracted one. Of course I could use wavestudio to export the data from the labnotebook as csv. But it would be handy to skip that step. Instrument used: LECROYWR640Zi