Go to Post why does everyone think im so violent? - Kim Masi [more]
Home
Go Back   Chief Delphi > Technical > Programming
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 14-02-2013, 12:42
Rusttree Rusttree is offline
Registered User
FRC #4146
 
Join Date: Jan 2013
Location: Scottsdale,AZ
Posts: 13
Rusttree is an unknown quantity at this point
Introduction to SmartDashboard Labview library

I'm hoping to get some help locating a beginner's guide to the Smartdashboard library of functions in Labview. Just a basic walkthrough of functionality. So far, I've found this document:
http://www.northwestrobotics.com/too...rs%20Guide.pdf

Which led me to this website:
http://firstforge.wpi.edu

Where I eventually found a link to the project page:
http://firstforge.wpi.edu/sf/projects/smartdashboard

That last link seems to be the source of the project, but I can't find any useful tutorials or manuals specifically for the set of Labview functions that are included in the FRC Labview updates. Most of the descriptions I'm finding online are specifically geared to c++ and java development.

I appreciate the help.

EDIT: I did find this page as well: http://wpilib.screenstepslive.com/s/3120/m/7932
but, again, it doesn't seem to address specifically the Labview library.

Last edited by Rusttree : 14-02-2013 at 12:51.
  #2   Spotlight this post!  
Unread 14-02-2013, 12:53
Moriarty's Avatar
Moriarty Moriarty is offline
Registered User
AKA: Brendan Moriarty
FRC #4302 (Robophins)
Team Role: Leadership
 
Join Date: Feb 2012
Rookie Year: 2009
Location: Chicago
Posts: 81
Moriarty is a splendid one to beholdMoriarty is a splendid one to beholdMoriarty is a splendid one to beholdMoriarty is a splendid one to beholdMoriarty is a splendid one to beholdMoriarty is a splendid one to beholdMoriarty is a splendid one to behold
Re: Introduction to SmartDashboard Labview library

http://wpilib.screenstepslive.com/s/...smartdashboard
I followed this guide and it was relatively easy to set up. Has a lot of photos to help you through it.

Hope it Helps!
  #3   Spotlight this post!  
Unread 14-02-2013, 14:41
Moriarty's Avatar
Moriarty Moriarty is offline
Registered User
AKA: Brendan Moriarty
FRC #4302 (Robophins)
Team Role: Leadership
 
Join Date: Feb 2012
Rookie Year: 2009
Location: Chicago
Posts: 81
Moriarty is a splendid one to beholdMoriarty is a splendid one to beholdMoriarty is a splendid one to beholdMoriarty is a splendid one to beholdMoriarty is a splendid one to beholdMoriarty is a splendid one to beholdMoriarty is a splendid one to behold
Re: Introduction to SmartDashboard Labview library

Apologies. I missed that you said LabView. SmartDashboard is a Java based dashboard. It is based on the WPILib library for Java and C++. As such, you need Java or C++ in order to use it. I do not have much experience with LabView as my team uses C++. What you should look for is libraries to modify the existing "LabView Dashboard".
  #4   Spotlight this post!  
Unread 15-02-2013, 08:37
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,756
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: Introduction to SmartDashboard Labview library

I apologize for the naming confusion. SmartDashboard is used both for the Java dashboard utility and for the shared variables implementation API that I believe the OP was referring to.

The SD (SmartDashboard) VIs have some amount of context help, so if you show the context help ctl-h and hover over the icons in the palette or diagram, it will give you the basics. I believe the other documentation that was produced was put on the NI.com/frc site and is about modifying the dashboard. I'm not sure there is comprehensive SD reference material this year.

Greg McKaskle
  #5   Spotlight this post!  
Unread 15-02-2013, 11:31
Rusttree Rusttree is offline
Registered User
FRC #4146
 
Join Date: Jan 2013
Location: Scottsdale,AZ
Posts: 13
Rusttree is an unknown quantity at this point
Re: Introduction to SmartDashboard Labview library

Oh ok, thanks Greg. I was able to figure out basic functionality by using the context help, but I wanted to make sure I wasn't missing anything. So NI wrote the SD VIs and not WPI? Was there collaboration or is it coincidence that the names for the two different things are the same?
  #6   Spotlight this post!  
Unread 15-02-2013, 11:47
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,600
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Introduction to SmartDashboard Labview library

Quote:
Originally Posted by Rusttree View Post
Oh ok, thanks Greg. I was able to figure out basic functionality by using the context help, but I wanted to make sure I wasn't missing anything. So NI wrote the SD VIs and not WPI? Was there collaboration or is it coincidence that the names for the two different things are the same?
The WPI Smart Dashboard uses the NetworkTables protocol to do the data transfer. The protocol spec for NetworkTables is located here: http://firstforge.wpi.edu/sf/go/doc1318?nav=1. NI implemented NetworkTables in LabVIEW. They then made the SmartDashboard VIs use the same namespace as the WPI Smart Dashboard. You can use the SmartDashboard VIs on the dashboard to read/write data to a Java/C++ robot (which use the Smart Dashboard class to read/write data). Or you can use the SmartDashoard VIs on the robot to to read/write data to the WPI Smart Dashboard.
  #7   Spotlight this post!  
Unread 16-02-2013, 11:26
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,756
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: Introduction to SmartDashboard Labview library

Story-time, story-time:

The initial libraries for FRC were a collaboration between NI, WPI, and FIRST. They try to expose all of the capabilities of the cRIO and kit of parts with numerous levels of abstraction.

From the beginning, we wanted to include a higher level communication feature and attempted to use something from NI called Network Variables. Unfortunately, they were very heavyweight with lots of features and not really focused on the right things. For that reason, they were withheld and the communications were achieved with TCP and UDP sockets.

A few years ago, WPI students released SmartDashboard to display values and used NetworkTables to communicate the data between robot and dashboard. The NetworkTable exposed named tables filled with variables. The table named SmartDashboard contains the ones for display, and other tables could be used for other purposes.

This last year, the protocol was reworked and the implementations were simplified and provided for all major languages and major tools.

We briefly considered other names to help make it clear what was what, but none of them could overcome the momentum.

Does that help?
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:27.

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