Hi Glenn,
This appears to be a problem with that specific piece of code. I did see what you were seeing, and I found that you could get a change in the 1's place if you shifted to either 199 or 201 ms of wait.
I then decided to start from scratch and see if this is an actual software problem, a hardware problem, or a particular quirk. Fortunately, it looks like this will fall into the last category.
I went ahead and created an almost identical program that should accomplish the same thing for you. I hope this helps.
Also keep in mind that you are doing software timing in this program, so you may not get a very accurate count. For more accurate counts you may want to do something like look at the Count Events with Pause Trigger and then create a pulse that is the desired length of time. When it comes to accuracy in timing it's generally not a good idea to trust your OS.
Regards,