LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

encoder angle data conversion

Hi,

 

I have attached my labview program which receives data of angular encoders through DAQ.

The received data is then converted to angles ..but this program calculates the angles such that the angle value goes on increasing ( 360 , 720 etc or -360.-720 etc..degrees).. every rotation..

 I want the angle to go between -360 ..0 .. +360 degrees..

that is the angles should unwind itself to zero every time it becomes +/-360 degrees.

 

please any idea how to do it?

 

ruser.

 

 

0 Kudos
Message 1 of 3
(2,770 Views)

Have a look at the 'quotient and remainer block", and the "sign" block.

0 Kudos
Message 2 of 3
(2,754 Views)

Try this:

Message Edited by altenbach on 12-06-2009 03:15 PM
0 Kudos
Message 3 of 3
(2,746 Views)