How to stop notification sound when receiving a text

view story

http://forum.xda-developers.com – Hello, My phone is on a montioring system that sends me a text when a system is having a problem. I need the alarm to be long and loud so I am positive to hear it even if sleeping. My problem is when I get one I want it to automatically stop making noise if I pick up my phone, sweep the screen saver or anything that indicates I'm going to look at the message. How do I stop the text notification noise if I'm actually looking at my phone? Thanks (HowTos)