You can use state machine for that. The default state would keep on monitoring if the flow stops. As soon as flow stops, you can call another state which would set off alarm.
Queue VIs can be used to control the states of your machine as well.
Hope this would give you some hints
A Rafiq