Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview Data Acquisition

Solved!
Go to solution

I have a Meilhaus DAQ 1208FS , I want to use a encoder agilent hedl 5540 , i want to find the distance of the encoders travelled . 

Can you suggest me how to do it using the digital signals?

Boldness has genius, power and magic in it!'
0 Kudos
Message 1 of 7
(3,758 Views)
Solution
Accepted by topic author MaveenD

Depending on your specific type of your Encoder youre getting 200-1000 pulses per revolution

(http://de.nanotec.com/page_product_archive__schrittmotor_encoder_heds5540__de.html)

 

Count the pulses that you get and multiply it by (Pulses per revolution)/360° and you get the current position in degrees.

Message 2 of 7
(3,688 Views)

Thanks dude ,but How to count the pulses without a counter , I have only digital inputs.

Is it possibe to count with the counter?

Boldness has genius, power and magic in it!'
0 Kudos
Message 3 of 7
(3,678 Views)

I wrote a small software timed VI, that will count edges.

 

Its software timed, so you cant go much higher than 100Hz with the signal.

 

If you have a counter its a lot faster. Just search for "count digital edges" on ni.com and you will find plenty of examples doing exactly that

Message 4 of 7
(3,637 Views)

Dear Felix ,

Thanks a lot for your reply. Now am able to count the signals . But To find the direction of the encoder from those signals?

Any suggestions i have tried different algorithm ,couldn get good result

Boldness has genius, power and magic in it!'
0 Kudos
Message 5 of 7
(3,626 Views)

Youll have to check the datasheet and find out which impulse you will get or a clockwise or counterclockwise turn.

 

Then use a case structure to find check if the pulse changed to low or to high

0 Kudos
Message 6 of 7
(3,621 Views)

Thanks once again . If channel A leads B it is CCW and viceversa for CW.

I have following this paper , even then my direction is flickering .

 

http://www.naun.org/multimedia/NAUN/circuitssystemssignal/19-726.pdf

 

Do you have any idea?

 

 

 

Boldness has genius, power and magic in it!'
0 Kudos
Message 7 of 7
(3,617 Views)