Yes there is PROVIDED your app has very loose timing requirements.
The software solution (what you are asking about) depends on windows allowing your app to run fast and frequently.
This is NOT a feature of windows.
If your timing req's are loose then a solution can be put together using software.
If they aren't, then we could tell you how to do it, only to find out that "It just does not work!"
The software approach would indeed be a combination of some of the examples that ship with LV.
You will want to do a continuous acquisition from the AI and compare the readings with your threshold "0". You will also want to track the time of the threshold and compare it with the current time to decide what should be done with the DO's.
If yo
ur timing req's are tight, The above can only pretend to do what your original posting mentioned.
How would you system to react to the DO that should be delay 16ms to periodically take 150ms?
Ben