08-20-2024 11:04 PM
Thank you very much for your help. I will test my experiment first. If I have any questions, I would like to ask you again.
08-21-2024 02:16 AM
I already poste a link to these files long ago, If the files are public, they should never be attached again, zipped or not.
This was an interesting problem and I was happy to play around, especially since I have a personal ECG monitor where I could not yet correctly reverse engineer the binary format for my own analysis in LabVIEW 😞
I am sure your use is educational and not commercial. It is an interesting project to analyze and compare all these pathological ecg sample traces.
I did not even look at the other three file type (not *.dat files), because they are very small. They might just contain metadata (e.g. time-base, recording date, formatting, etc.). The *.dat file contains the recording and is probably all you really need.
Maybe somebody could look at the MATLAB tools I linked earlier to see what they do. I don't "do" text programming and did not even bother.
Still, I recommend to start with the basic LabVIEW tutorial and especially learn about the various numeric representations. In this particular case, reverse engineering was relatively easy. If we just graph the raw U8 data, there is a periodicity of three, indicating 24bit data. (3bytes/point) After that there are only two possibilities for byte order (big vs little endian) and two possibilities (signed vs. unsigned integer). Harder was figuring out the wrapping, and there might be other ways to unwrap, but my solution seems to work fine.
08-21-2024 10:43 AM
According to this How to use LabVIEW Biomedical Toolkit - ECG Feature Extractor (Ver 2012 ) - NI Community The LabVIEW Biomedical toolkit can open the MIT-BIH files.
I have played around with the toolkit, but I'm no expert on it. I do know I had to get the Advanced Signal Processing Toolkit installed to make it work. I have the 2019 Pro Dev LabVIEW and have the needed license. There is a generous trial period if you want to check it out, but don't have the license. Make sure you choose your LabVIEW version and 32/64 bit options correctly!
LabVIEW Advanced Signal Processing Toolkit Download - NI
LabVIEW Biomedical Toolkit Download - NI
09-04-2024 08:05 AM
Thank you, I understand
09-04-2024 08:07 AM
Thank you for your understanding and help. It is indeed for educational purposes. This is my own experimental topic. Thank you.