Chief Delphi

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

Hess1113 05-02-2017 22:41

Autonomous Encoders Read Off LabVIEW
 
In LabVIEW how do you get the encoders to read off to the dashboard during autonomous. The only reading we can get is when we start the autonomous due to the encoder command being ran once.

Mark McLeod 05-02-2017 23:18

Re: Autonomous Encoders Read Off LabVIEW
 
Feed the Dashboard the Encoder values in a loop in Periodic Tasks.vi, not in Autonomous or Teleop.
Remember to throttle the loop down or just drop it in that default 100ms While loop.

Hess1113 06-02-2017 07:52

Re: Autonomous Encoders Read Off LabVIEW
 
Quote:

Originally Posted by Mark McLeod (Post 1640905)
Feed the Dashboard the Encoder values in a loop in Periodic Tasks.vi, not in Autonomous or Teleop.
Remember to throttle the loop down or just drop it in that default 100ms While loop.

Thank you but do you have kind of example to this way?

Mark McLeod 06-02-2017 14:36

Re: Autonomous Encoders Read Off LabVIEW
 
4 Attachment(s)
Maybe something like this:
Although the encoder used in this example has to be turned a lot to show up on this scale.
You might want to start with a smaller scale on the Dashboard gauge.


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

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