![]() |
Getting Encoder Position Value
Alright, here's a zinger:
C++[ float elbowencoder = encoder1->Get(); ] This would return a 4x value of it's position, so that I could figure out where it was and what to do with it at that point. How would I accomplish this in LV? Thanks. Me, your local knucklehead. |
Re: Getting Encoder Position Value
1 Attachment(s)
In LV, when you open the encoder, you have to specify 4x decoding. Then, you can just read the encoder value as a double. See the attached screenshot.
Attachment 11227 |
Re: Getting Encoder Position Value
So distance is what I'll want if I want to know where I am in relation to startup?
So if I'm reading this right, rate will be used for, say, traction control? |
Re: Getting Encoder Position Value
Quote:
|
| All times are GMT -5. The time now is 09:24. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi