Delay or Data snapshot

I am using a ultrasonic sensor to trigger the flow of data to a serial port. Once the sensor is broken by an object passing by an 'if' statement becomes true and the values are sent. 

How do i add a delay or such like so that only the very first set of data values from when sensor gives a 'true' output from the first moment the sensor is triggered by the very edge of the object and not the rest of the fluctuating data from the rest of the object passing by. 

So, as soon as the senor is triggered the if statement goes 'true' the data is sent and then no more data is sent for 10 seconds. Only after this 10 seconds can the statement go 'true' again and the next set of data is sent.

Many Thanks