Thanks Andy, the more I worked with the 7i76 the more I realized exactly what youre saying, I initially started working with input0 which is where I thought physical pins and HAL pins corresponded to each other. Then, when I started working with the spindle encoder I realized my original thoughts were wrong. Its great that people like yourself, BigJohn, Chris and many other people take the time to lend a hand to many of us that are beating our way through the bush....it makes it easier. Thanks again for the support, I appreciate it.