|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
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. |
|
#2
|
||||
|
||||
|
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. |
|
#3
|
|||
|
|||
|
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 |
|
#4
|
|||
|
|||
|
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.
![]() |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|