Timing between trigger

Hello,
I am working on a project that I am using interrupt service routine. I want to be able to measure the timing between the trigger of my proximity sensor for 47 triggers and store it in an array. How do I do this.
Thanks.

dohdesmond:
Hello,
I am working on a project that I am using interrupt service routine. I want to be able to measure the timing between the trigger of my proximity sensor for 47 triggers and store it in an array. How do I do this.
Thanks.

I'm a bit confused. Which one of the things causes the interrupt? And how is it connected to the Arduino pin?

Paul