Go to Post If only all this food for thought happening in this thread could somehow be funneled into solving world hunger... - artdutra04 [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 07-02-2016, 09:14
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Talon SRX Encoder Readouts for labview.

The dashboard has a tab called Variables. This displays all network tables contributed by any client, and updates at five or ten times per second. Look to see if the /SmartDashboard/Encoder is in the tree. If you don't find it, look for /Encoder. The vis will take a string with a prepended / as an absolute path. A string without a / will be prepended with /SmardDashboard. Be sure the robot and dashboard match exactly, case, spaces, and / will all matter.

The code you put in the attached doc didn't say where it was located. If it is not in a loop, it will run once and never again. The read and write to local is a single transfer of data and not a registration of a periodic service. So you either need to put that in a loop -- the top one work. Or you can name the display of the encoder data "Encoder" to match the SmartDashboard variable name, and place it in the Custom tab or the Basic tab. The contents of those two tabs are registered using the NT Bind, and no looping is necessary.

Greg McKaskle
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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