I am currently able to trigger a solenoid valve very fast. The conditions are set as level=5 and slope=falling. The problem that I am having is that it is triggering on the rising edge at 5 even though I clearly stated in the code falling edge. I would truly apprecitate any help.
Looking at your VI, you have a rate of 1000 setup, trigger on falling edge, and a pretrigger sample of 500. So it would collect data exactly half way to the prior cycle would in effect be the rising edge considering 50% high and 50% low duty cycle.