From Saturday, Nov 23rd 7:00 PM CST - Sunday, Nov 24th 7:45 AM CST, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to connect a linear encoder with ni 6008?

I would like to connect a linear encoder using ni 6008 but i don't know how to do it.

I know that ni 6008 has one PFI channel. 

Can i use other digital channel in combination with the PFI to connect the encoder?

 

Thank you

Francisco

0 Kudos
Message 1 of 5
(2,898 Views)

Hi Francisco,

 

connecting is one problem - the other (and more important) one is analyzing the signals…

 

The USB6008 has only one high-speed PFI, all those other DIs are only software-timed and so just capable of ~100Hz sample rate. When your encoder is rather slow (or only outputs a low amount of pulses in relation to movement) you could use the AI pins to read the signal (capable of 10kS/s in sum) - with the disadvantage of doing the signal analysis on your own…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 5
(2,896 Views)

Thank you for your quick replay!!!!

What about using a Ni USB 6210?

 

Regards, Francisco

0 Kudos
Message 3 of 5
(2,879 Views)

Hi Francisco,

 

as the manual explains you could use that device to measure with quadrature encoders…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 4 of 5
(2,874 Views)

Thank you!

0 Kudos
Message 5 of 5
(2,854 Views)