hi,
please post your question regarding dataacquisition in the DAQ-forum next time....
I think, NI DAQmx supplies you with the example you are looking for. Please open the example finder in LV (help->find examples) and the choose "directory structure" in the upper left quadrant.
Select DAQmx in the treeview, Counter->Count Digital Events .llb. There you can find a vi called "count digital events.vi". This VI should work with the 6014.
If you connect A to the source of counter 0 and B to DI 6 and select "externally controlled" in the count-direction, you should see the counting in ticks in the correct direction (up/down change when changing from clockwise to counterclockwise). The only thing which is missing now is to get the angel instead of ticks. Here the PPR of the encoder is important. Just divide the counted value by PPR of the encoder and then multiply by 360°.
hope this helps,
Norbert
Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.