Hi again Michael,
Here's what I'd do in your case:
1. Set up the analog input task to be continuous.
2. Set up the quadrature position encoder to be hardware timed as well, but use the AI Sample Clock for the clock source. This way, you will still have one counter left and your AI and CI tasks will be synchronized.
3. Set up a "dummy" Counter Output task to generate a single pulse that will be retriggerable. You should be able to use the analog trigger from the AI channel or you can route the signal externally to the APFI line and use that to do the triggering. You can use either the analog comparison event or the pulse generated on the Ctr1InternalOutput terminal as you are generating a retriggerable pulse anyway. Either one should work.
Let me know if you have questions about this.
Regards,
John Bongaarts