LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

angle error in inverted pendulum (encoder_read_ni.vi)

Hi,

 

I'm using the quanser inverted pendulum, NI ELVIS and Labview for a control engineering task, the problem I am having is the angle arm and pendulum angle are not registering the correct angle, if I move the pendulum 180 degrees it give me an amplitude of 120,000 when it should be reading from -180 to 0 degrees, I think this could be to do with the encoder I have been supplied with (maybe?!), the required encoder is Encoder_Read_ni.vi but the only encoder available to me is Encoder_Read_MX.vi, the MX encoder allows me to run the programm but I'm not obtaining the correct angles.

 

Anybodys help will be greatly appriciated. 

0 Kudos
Message 1 of 2
(2,370 Views)

Hi Craig,

 

Where did you obtain these VI's from? Were these developed by you or did you get the VI's on purchase of  the Inverted Pendulum (IP). You should have obtained the correct VI's that work with your Quanser IP when you purchased it. 

 

There are a few links here which may give you more information on using a quanset IP with NI Elvis 

 

http://www.ni.com/white-paper/7340/en 

 

http://zone.ni.com/devzone/cda/epd/p/id/6383

 

Thanks and Regards,
Supreeth.K

0 Kudos
Message 2 of 2
(2,291 Views)