Does what you described involve a NI6008 board? Because although there might be other 'better' ways, I have to follow the guidelines I was given.Personally I would use a small PicMicro and using a timer with an input interrupt from the photo detector.
The way an anemometer is often constructed.
The relay would be triggered from a pic output.
The DAQ route would not have been the path I would have taken.
Max.
Can you describe what you said in a little bit more detail please.