04-04-2012
08:41 PM
- last edited on
01-31-2024
06:22 PM
by
migration-bot
Hi,
I just started using labview today, and its for my final year project to control a rig built similar to the QNET VTOL Trainer (https://www.ni.com/en-us/support/model.quanser-qnet-vtol-board-2-0-for-ni-elvis-ii-ii-.html)
I have a very simple VI which reads only the encoder position, it was working fine before, however now i seem now the readings just seem to increase and they dont reset. I was hoping someone can enlighten me where I am going wrong or if the encoder itself is faulty.
I have a NI9401 in bay 6 of the cDAQ 9178 and I am using Labview 2010.
The encoder model is Avago HEDS 5640
Hope someone can englighten me on this.
Thanks
04-17-2012 11:52 AM
Hi ayamkeren,
Thanks for your post and welcome to the forums!
If you start the VI without moving the encoder, what values does the VI start with? What sort of values are you expecting and how do they change?
When it was working before, did you find that if you close down labview and re-open the VI are the encoder values correct?
Regards,