Great, congratulations! :)
Strange, but yeah, logic analysers are nice tools!
I had a situation where one helped me to understand why a serial communication that I wanted to analyse looked like garbage...
Sure, if you can use some of my code, feel free to use it...
Unfortunately I hadn't time...