02-18-2007 10:27 AM
02-19-2007 09:37 AM
I don't have LV at my network PC and can't open your vi now, but can offer this:
There's a different method to configure your measurement with a single counter task so that the board's hardware accounts for the Direction bit. To measure a Clock and Dir type of incremental position signal, you actually do *not* configure the counter to measure encoder position. You configure it to count edges, and then use a DAQmx Channel property node to further specify that the count direction is controlled by the Dir signal found at PFI4. The right property is probably found several sub-menus deep in the property hierarchy.
It'll definitely be better to let the hardware deal with this for you than to try to manage the complexity of two simultaneous tasks.
-Kevin P.
02-19-2007 03:58 PM