Go to Post AndyMark has done something amazing. - Sam390250 [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 26-12-2012, 13:20
Dexterium's Avatar
Dexterium Dexterium is offline
Registered User
AKA: Adam Poindexter
FRC #1208 (Metool Brigade)
Team Role: Programmer
 
Join Date: Sep 2012
Rookie Year: 2011
Location: United States
Posts: 24
Dexterium is an unknown quantity at this point
Control in Driver Station/Dashboard

Is there a way to have a control in either the dashboard or the driver station. What i want is a way to control a numeric value while using a build project. I know that you can have indicators on them but can you have controls , and if so how do i do it
Reply With Quote
  #2   Spotlight this post!  
Unread 26-12-2012, 14:47
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,748
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: Control in Driver Station/Dashboard

The driver station I/O tab has a number of numerics that are used as indicators if the FT is plugged in. If it is not plugged in, they become controls and the value is automatically sent to the robot. This is in compatibility mode.

As pointed out by some of the beta teams, all languages now implement Network Tables/Smart Dashboard protocol, and that makes it much easier for the dashboard to both display and control values. In the new system, you place the numeric into the Operation tab and label it with the variable name. Then you read it on the robot. The dashboard automatically synchs up all controls and indicators with the robot.


Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 01-01-2013, 16:23
DominickC DominickC is offline
Registered User
FRC #0023 (PNTA)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 1620
Location: Boston
Posts: 435
DominickC is an unknown quantity at this point
Re: Control in Driver Station/Dashboard

So, if I understand what you've said correctly, we no longer need to employ TCP/UDP to send, let's say a custom numerical control on the Dashboard, to the cRIO?
Reply With Quote
  #4   Spotlight this post!  
Unread 01-01-2013, 18:00
Fifthparallel Fifthparallel is offline
Registered User
AKA: Sam Chen
FRC #1410
 
Join Date: Dec 2012
Rookie Year: 2011
Location: Denver, CO
Posts: 65
Fifthparallel is an unknown quantity at this point
Re: Control in Driver Station/Dashboard

You will, but under the guise of Network Tables finally being implemented for Labview and the new "Labview" Smart Dashboard. The SmartDashboard palette for 2013 will have get/send like operations for sending different kinds of data to/from Dashboard/cRio.
__________________
sudo chmod u+x helloworld.sh
gotta start somewhere.
Reply With Quote
  #5   Spotlight this post!  
Unread 01-01-2013, 18:49
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,748
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: Control in Driver Station/Dashboard

The SmartDashboard is built on top of NetworkTables, and that is built upon TCP. So you are free to dig into the implementation or do your own, but you may find it easier and more reliable to use the SmartDashboard to share data in both directions. That means you can easily publish a robot value to the dashboard, and you can easily have it read a value to impact autonomous or teleop execution.

Greg McKaskle
Reply With Quote
Reply


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 04:15.

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