12-28-2020 05:19 AM
Hello,
For an application I need to read the count of a differential quadrature encoder (RS-422 line drive). So there are 6 TTL signals (A, A\, B, B\, Z and Z\) . So I need to filter these pairs to three signals (A, B and Z) and count the A and B signal on the edges.
I would like to use an USB 6001 DAQ device to do this. The built-in counter of this device is not capable to do what I want. But the device is capable to read 6 digital TTL inputs. My question is: Can I do the filtering of the signals and the counting on the edges in my .NET software which I use to control the DAQ device (using the .NET API for NI-DAQmx). Or will this be to slow?
Hope if anyone can help me with this or maybe have an other solution to get the encoder count in my .NET software (PCI cards are too big for the PC I am using, So I need to use an external device)
Like to hear.
Riekelt
01-08-2021 03:03 AM - edited 01-08-2021 03:04 AM
I don't suppose you can easily get the count from your encoder with a 6001 which only has one single count-up input.
If you cannot move to a more powerful device you could consider using an HCTL-2xxx IC which interfaces the encoder and directly outputs the count. Some reference here