Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Encoders (http://www.chiefdelphi.com/forums/showthread.php?t=89260)

frenchie4111 16-01-2011 12:34

Encoders
 
Does anyone have a working tutorial for getting values from encoders?

Mark McLeod 16-01-2011 13:36

Re: Encoders
 
The NI people included a bunch of examples with LabVIEW.
  • On the Starting screen on the bottom right you'll see "Find FRC Examples..."
Click on that and you'll see a long list of folders.
  • One of the folders is "Sensors"
Double-click on that to get a list.
  • You'll see "Encoder Example.lvproj"
Double-click on that to open this example project.
  • Expand the RT Target and you'll see "Encoder Example.vi"
The front panel demonstrates how everything gets wired.
The block diagram has the example code.
Use this example project as-is by just changing the target IP to your own, and it's good for verifying that everything is working properly and you can probe various spots to see how it works.


All times are GMT -5. The time now is 10:10.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi