![]() ![]() Out.setByteOrder(QDataStream::LittleEndian) ![]() QDataStream out(&databytes,QIODevice::WriteOnly) They convert nicely to the correct values down to the second in the test file.īut these following lines must be doing something that I don’t understand and anything I try to read after those lines don’t appear to be incorrect based on looking at the spreadsheet. I think I get all the right answers up to and including the machine time, and the start and stop times are in milliseconds after the Unix datum of. The problem is that I don’t understand C++ well enough to really figure out what it’s doing. I tried it with a test file that I also processed on a PC using the native CMS50 software, and so I have the actual numbers in a spreadsheet and was also able to read the. I had previously found the part of the file where you said to look (Session::StoreEvents(QString filename)), and I can read the header just fine with the following matlab listed below. But after reading about all the issues with the latest release of Xcode, I decided that would be more difficult, especially since I’d have to really learn C++ and then probably write code to export the data in a more friendly format. I definitely thought about doing what you suggested with making changes to the source and recompiling it. I will happily share whatever I write with anyone who wants it. So, I’m wondering if anyone had successfully parsed the sleepyhead binary data files for use in other software - in my case software that I’m trying to write - or if someone had developed a grammar for Synalyze It Pro? Any insights or suggestions would be greatly appreciated. I suspect they figure I should be able to decode the format with the source, etc., but I’ve put in considerable effort and it’s definitely beyond my abilities at this point. I’ve been unsuccessful in trying to contact the developers about this problem. I can parse the header, but when I search through the binary data files, which if I’m interpreting the fields correctly the CMS50F data isn’t compressed, I can’t find any evidence of the data values that were recorded. I can see information about the structure of the data in the source, but I can’t completely unwravel it. I don’t really have any experience using C++, and especially not with Qt. I bought a copy of Synalyze It Pro, and downloaded the source for Sleepyhead figuring I could decode the binary files with a bit of effort using the source as a guide. I can get around that for the future by various means, but I have 10 months of historical data that I can’t access. SpO2 files generated by the native software of the CMS50F that runs on Windows. Unfortunately, accessing this data would be easy if I had a PC as I can read both the cvs file and the. ![]() I’ve done a lot of matlab programming before I retired, and so I figured I could decode the binary sleepyhead files and get the information I need - I want to create a set of histograms of the percentage of time my SpO2 is at various levels over the course of several nights using the historical data I have stored in the sleepyhead binary files. Because of this, my doctors are interesting in obtaining more information about my sleeping SpO2 than is reported by the Sleepyhead software. It took a while for my doctors to determine exactly my medical problem, but I actually have severe hyper-dynamic airway collapse as opposed to sleep apnea. I’ve been using the CPAP/pulse oximeter for about 10 months. I love that program and it works great for me. I have a Respironics DreamStation and CMS50F pulse oximeter, and I transfer the data daily to the SleepyHead Software, V1.0.0-beta-2, running on MacBook Pro, OS X version 10.11.6. I just joined the forum in the hopes of getting some help with a problem I’m having. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |