Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding NI-USB 6221

Hello, 

 

We are attempting to collect some analog signal data using AI pinouts through the external pulse trigger from an incremental encoder. Currently we are using NI USB 6009 to implement that function.

 

However, there is an issue: the counter pulse would be increased unexpectedly when the platform where the encoder was mounted to has a slight vibration, causing the larger count number than the value it should be. In our understanding, there is only one counter named PFIO pinout for USB 6009, which means only one input signal from encoder can be received. However,  there are three output signals A, B and Z from the encoder, and typically A and B are supposed to work together to count the pusle signal. Could we use NI-USB 6221 to implement that function or any other suggestion?  Thanks,

 

Best regards,

 

Lin

0 Kudos
Message 1 of 2
(429 Views)

The counter in USB-6009 only supports edge counting.

Whereas the counters in USB-6221 support quadrature encoding measurement. It has 24 PFI lines as well. You can connect the ABZ signals to any PFI lines and specify them in the DAQmx tasks. Features and Differences of NI Multifunction DAQ PFI Lines

-------------------------------------------------------
Applications Engineer | TME Systems
https://tmesystems.net/
Message 2 of 2
(391 Views)