Go to Post The purpose of the game rules is not to imagine and categorically list everything you should not do, but to give you guidelines of FIRST's intent and leave it to your developing good judgment to know what's acceptable and what is simply skirting the rules. - Mark McLeod [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 11-02-2016, 19:01
eneubec1 eneubec1 is offline
Registered User
FRC #5090 (Torque-Nados)
Team Role: Coach
 
Join Date: Nov 2013
Rookie Year: 2014
Location: michigan
Posts: 37
eneubec1 is an unknown quantity at this point
Where is SD WRITE?

We are trying to figure out how to write variables from robot code to the smart dashboard. Our Programmers recall something called SD Write from last year, and we can't find it anywhere.

How do we take variable from the robot ( like Voltage from AIO) and put it on the smart dashbboard?

The Tutorial #6 didn't help.
Reply With Quote
  #2   Spotlight this post!  
Unread 11-02-2016, 23:02
BitTwiddler's Avatar
BitTwiddler BitTwiddler is offline
electronics/programming mentor
AKA: Mr Tanguay
FRC #1726 (N.E.R.D.S.)
Team Role: Mentor
 
Join Date: Oct 2008
Rookie Year: 2006
Location: Sierra Vista, AZ
Posts: 246
BitTwiddler is on a distinguished road
Re: Where is SD WRITE?

When you are working on the block diagram bring up the function palette and look at the bottomost palette for the WPI Robotics Library. The smart dashboard VIs are the second ones from the left on the bottom row. The second VI shown is the NT Write Value VI. That's the one to use to write a value to the dashboard and it can handle numeric, Boolean and string values as well as arrays.
Hope this helped you.
Reply With Quote
  #3   Spotlight this post!  
Unread 12-02-2016, 00:12
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: Where is SD WRITE?

Last year, the palette of VIs for reading and writing had an SD Read and an SD Write as well as an NT read and write.

For 2015 decided to combine them by overloading the name parameter. Virtually all of the writes used by teams should be to the SmartDashboard subTable, and just a few of the utilities such as the test code will need to write to other tables. So the SD and NT functions were combined such that a name starting with / is treated as absolute and equivalent to an NT call and a name that doesn't start with / is placed under SmartDashboard subtable. I'm pretty sure we left the old functions in for compatibility, but removed them from the palette.

Greg McKaskle
Reply With Quote
  #4   Spotlight this post!  
Unread 12-02-2016, 21:35
eneubec1 eneubec1 is offline
Registered User
FRC #5090 (Torque-Nados)
Team Role: Coach
 
Join Date: Nov 2013
Rookie Year: 2014
Location: michigan
Posts: 37
eneubec1 is an unknown quantity at this point
Re: Where is SD WRITE?

Thanks for the quick advice. I love the responsiveness we get from postings on chief delphi. Now I just need to get my students to understand they can post a question when they don't find the answer from a search.
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 19:58.

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