There is another Discussion Forum post that talks about how to do this using the NI Vision software. Check it out at the following link Period of a Pendulum Using Vision. Let me know if this is not what you are looking for or if it doesn't answer your question. Thanks, and good luck on your application.