I need to obtain the velocity of the wheels which is attached to a rotary encoder. Currently i am using the DAQ6024e card.
i set my encoder to initial count of 1000000 and i want to read the counts after every 2ms.
I know how to obtain the counts from the encoder but how do i read the counts after every 2ms?
can someone advise me on how to program to read the encoder counts after every 2 ms?
By taking the difference in the counts every 2ms, i will be able to obtain the velocity by dividing the counts by 2ms.
can someone kindly advise?
regards,
Leroy