11-09-2016 02:06 PM
I'm coding a vi where we have a digital input laser that shines on a reflector. When the beam is broken (rising edge) then our DAQ reads that an event happens and adds one to a counter. I was tasked with taking this program and calculating if the time between rising edges exceeds two and a half minutes, then that time is added to a total time calculation. This time will continue to add until the next rising edge occurs. When the next edge is read then we need this time to stop, save, and wait until the next time period of 2.5 minutes passes then add to the total time again.
11-09-2016 02:42 PM
That sounds like a nice simple application to write. Was there a question?
11-09-2016 02:54 PM
How do you write it?