01-08-2013 04:01 AM
Ok, I'm not sure I understand what you call an encoder. Could you please be more specific about what is your encoder and how many of them you need to measure?
>> Connecting an Encoder to a Counter
>> Comment effectuer une mesure d'encodeur en quadrature
As you may read in the above links, what we usually refer to as an encoder use several digital lines. Is it what you are talking about?
Thanks
M-Junior
01-08-2013 04:11 AM
Hello,
attached the first 9 bits which I enter over the lines;
The B1 has a higher frequency = 10Khz online 0 port 0
The B2 has a higher frequency = 5Khz online 1 port 0
The B3 has a higher frequency = 2.5kHz online 2 port 0
The B4 has a higher frequency = 1.25kHz online 3 port 0
B5 has a higher frequency = 635hz port 0 on line 4
...
...
...
The B16 has a higher frequency = 0.3 Hz line 7 port 1
01-08-2013 04:56 AM
01-09-2013 05:55 AM
hello,
have you a solution?
01-09-2013 07:15 AM
Hello,
I believe you should use Counters for what you need. There won't be anything possible in USB. Unless you use several DAQ boards like the 6341. The PCI-6602 only has 8 Counters and that's the most we have. Then unless you go for 2 Boards, you may think of using a HSDIO. The PCIe-6535 would be the closest to your need I believe :
Have a nice day,
M-Junior
01-09-2013 09:06 AM
I do not understand why you have used counters? I have a 16 bit binary word changing, I get 1 bit by line so why use counters?it is as if I wanted to purchase 16 digital signals simultaneously.
Can you explain?
But I still need to use another card to acquire the analog signal with the cards you spoke to me?
Thank you for your help
manu
01-10-2013 02:19 AM
Encoders produce periodical signals. Therefor, the signal itself doesn't really need to be measured, the number of edges alone gives the information. I suggest you read the following tutorial :
To make encoder measurements, you need a basic electronic component called a counter. Based on its several inputs, a basic counter emits a value that represents the number of edges (low to high transitions in the waveform) counted. Most counters have three relevant inputs – gate, source, and up/down. The counter counts the events registered in the source input, and, depending on the state of the up/down line, it either increments the count or decrements it. For example, if the up/down line is “high” the counter increments the count, and if it is “low,” the counter decrements the count.
>> Encoder Measurements: How-To Guide
In your case, and since you need to measure 16 encoders, I guess you can go for a HSDIO device as the PCIe-6535 I've mentioned earlier.
Have a nice day,
Marc-Junior
01-10-2013 06:36 AM
Hello,
I think we do not mean the same thing. According to the example you sent me, it is an incremental encoder or my apllication I use an absolute encoder.
But it may be me who does not understand. You mean to tell me that we must use the same method to acquire the position of an incremental encoder and absolute encoder position?
thank you
manu
01-10-2013 07:47 AM
Ok, I did not realise they were absolute encoders. I think the USB-9425 should do it (cDAQ-9171 + NI 9425 module) :
http://sine.ni.com/nips/cds/view/p/lang/en/nid/209911
Thanks,
Marc-junior
01-11-2013 03:53 AM
Hello
With the USB 9425 can we acquire a voltage less than 12V?
But if I understand well in any case I have to use two grabbers? One for digital and one for analog signal. But if I use 2 cards, is that I can sync them together to make an acquisition?
Thank you for your answer
cordially
manu