saving osciloscpoe data into .dat or .trc format?

조회 수: 16 (최근 30일)
Guillermo Martin
Guillermo Martin 2019년 9월 13일
댓글: Guillermo Martin 2019년 10월 1일
hi,
I have to save data waveforms from an oscilloscope to read it afterwards with Matlab. I have done it always in .dat, since the oscilloscope calls this format as matlab format, but I have seen that .trc files occupy much less are stored in less time and they could be opened as well in matlab. So what is the benefit of using .dat instead of .trc, does any one knows? My confussion comes due to the fact that the osciloscope call this format as matlab, this mean that has some benefit I guess.
Thanks
guillermo
  댓글 수: 2
Shubh Sahu
Shubh Sahu 2019년 9월 18일
Is this a real world oscilloscope or simulink oscilloscope?
Guillermo Martin
Guillermo Martin 2019년 9월 18일
It is a real world oscilloscope from Lecroy, but I guess than Tecktronix and other osciloscope manufacturers have the same saving options. It is the format options that you have when saving the waveform. You can save the points of the waveform in .csv as well (for Excel), but when using Matlab they recomend this .dat format. Of course .dat is better than .csv when you have 2.5Milion points and you work with Matlab. But I would say that .trc is faster and has lower size, so what is the real benefit of this .dat as compared with .trc?
thanks!

댓글을 달려면 로그인하십시오.

답변 (1개)

Shubh Sahu
Shubh Sahu 2019년 9월 20일
.dat is widely used and generic format while .trc is a file extension for a debug file used by database software and it’s not generic although it takes less storage space. For more information you can refer this link

제품


릴리스

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by