05-11-2010 12:01 PM
I am using a USB-6251, trying to read a digital input line. I have an encoder on a spinning shaft, and want to read a prox switch at each pulse of the encoder. I can achieve this much by creating a digital input reading with external timing pointing to my encoder pulse. That's not a problem, and it works great.
However, I need my readings to start at the same position every time (1 PPR line on encoder). I've read that you can't trigger a digital line on M series due to the lack of a dedicated clock for the digital lines or something, and I've looked at the examples of how to get around it, but I don't understand how to adapt them to my application. Can anyone help out, show me how to do this? I need to read a digital input line at every rising edge of a different digital input, starting at the rising edge of a third digital input.
Thanks.
05-12-2010 11:36 AM