Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

Encoder reading error

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

 

0 Kudos
Message 1 of 2
(5,495 Views)

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,

Ben B.

Applications Engineer
National Instruments UK & Ireland

"I've looked into the reset button, the science is impossible!"
0 Kudos
Message 2 of 2
(5,445 Views)