Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Optical Encoder USB 6009. Module Incremental Encoders

Hi All,

I've just got a question it might be very simple. I have a USB DAQ 6009. Just wondering if I am able to use it to acquire data from an incremental digital controller. I have read a few of the previous posts but I am still a little lost as to whether I can't or can't. It mentioned that is didn't have counter gate etc. Is there anyway of doing it simply via the digital i/o line on the DAQ card.

Regards,
Darren
0 Kudos
Message 1 of 4
(3,676 Views)

Hi Darren,

It depends what kind of data you want to acquire. The PFI line will be count falling edges as specified in the USB-6009 specifications on the bottom of page 24. The DIO lines on the USB-6009 are static which means they would be software timed. This would probably not be what you are looking for. Another option would be to acquire the waveform with an analog input. This article gives good information on how to accomplish that.

Regards,

Kent

0 Kudos
Message 2 of 4
(3,656 Views)
Hi

Thanks for your feedback. I have decided to go  with an M-series USB 6210. I have managed to get the encoder counting. However I can't seem to also count the frequency of the shaft.
The output is extremely slow. Can suggest a possible solution. I have attached my code below.

Regards,
Darren
0 Kudos
Message 3 of 4
(3,645 Views)
Hi Darren,

To make two different types of counter measurements on the same encoder, the easiest way would be to just externally wire the encoder to two counters and set up a counter task for each. This will allow you to make the angular position measurement and frequency measurement at the same time. The speed in your VI is determined by the wait function in your while loop. You can adjust the value or delete the function depending on your needs.

Regards,

Kent
0 Kudos
Message 4 of 4
(3,631 Views)