07-28-2011 06:04 AM
Hello,
I have an rotary angle measurement for which, I am using ASM rotary encoder. I have to use A, B and Z signals. The application is in such a way that when the user rotates to the home position, automatically the position has to reset to zero. For this, I understand, that I should wire Z reference also.
I will be using multifunction I/O card . I have identified X series card NI PCIe-6341 which has 4 counters.
A and B signals will be connected to individual counters of the card. Should I connect Z ref signal to a counter or to a digital input. Are there any example programs for this type of usage. Please let me know.
Thank you.
07-28-2011 10:06 AM
Hello,
You can use the DAQ assistant to check the functionality of the quadrature encoder (or rotary angle measurement) and to see the waveforms for A, B and Z or you can use this example to get your application running in a short amount of time. The Z terminal gives a high pulse every revolution, so you could easily wire it to another counter input. You can also find many more examples in the NI Community or by using the example finder in LabVIEW (search for "quadrature encoder").
Regards,
Toader Mihai