Working with serial port

Feb 15 2013 8:12 AM
Good Morning guys, I wonder if anyone knows how to work with automation system? I found this 
example on the net http://www.codeworks.it/net/VBNetRs232.htm
 
Just can not capture the event Spinning Electronic Turnstile? Can someone pass me a solution?

I found another example in C # I found it easier to work with and has the same characteristics, except that you can not capture the event swivel ratchet electronics.

https://docs.google.com/file/d/0BwoCzDQ2EvFBYkdGTTFRcUhUTnc/edit?usp=sharing