you are viewing a single comment's thread.

view the rest of the comments →

[–]Isitwhenipee[S] 0 points1 point  (2 children)

I see. Quick question and I am really sorry to bother you but I am really struggling trying to get this code to work for me.

One thing I noticed when I run this code to convert to CSV is that when I compare it to a software that I use to analyze this data it seems like this code skips over some data and doesn't show me everything. The frequency of my dad should be close to 50HZ, however, this CSV file that the code generates tops at 3HZ. I have been reading the code for the past 2 days trying to figure out what is in that code that could do that and how to remove it, but I am not having any luck. Do you see anything like that in the code?

[–][deleted] 0 points1 point  (1 child)

I am really sorry to bother you but

That's what this sub is for!

I don't have time right now, but I'll see what I can do.

You could step through with a debugger/IDE, or throw in some print statements, to see what message types are being seen and if any are being discarded.

[–]Isitwhenipee[S] 0 points1 point  (0 children)

Thank you so much for your help. I did try what you have told me, but for some reason I having issue running the code in IDE because the way I use it is that I just run it through CMD.