LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ACQUISITION _ usb6341 analog and digital.

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

0 Kudos
Message 11 of 21
(1,164 Views)

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

0 Kudos
Message 12 of 21
(1,159 Views)
0 Kudos
Message 13 of 21
(1,154 Views)

hello,

have you a solution?

0 Kudos
Message 14 of 21
(1,136 Views)

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 :

 

NI PCI-6602

NI PCIe-6535

 

Have a nice day,

M-Junior

0 Kudos
Message 15 of 21
(1,134 Views)

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

0 Kudos
Message 16 of 21
(1,129 Views)

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

0 Kudos
Message 17 of 21
(1,116 Views)

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

0 Kudos
Message 18 of 21
(1,108 Views)

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

0 Kudos
Message 19 of 21
(1,102 Views)

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

0 Kudos
Message 20 of 21
(1,093 Views)