Go to Post Figure out where you have to start and what end result you want, from there, all you have to fill in is the middle. - Beth Sweet [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 28-01-2016, 13:26
2386programming 2386programming is offline
Registered User
FRC #2386 (Trojans)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2011
Location: Burlington
Posts: 34
2386programming is an unknown quantity at this point
Choosing Autonomous via SmartDashboard

What my team is trying to accomplish is choosing from our several autonomous modes through the smart dashboard. But the problems that I run into are that I cannot find a function to do so in LabView, as well as only being able to open the default dashboard, and I cannot put any buttons in there.
Reply With Quote
  #2   Spotlight this post!  
Unread 29-01-2016, 07:00
sraque's Avatar
sraque sraque is offline
Registered User
AKA: Steve Raque
FRC #2614 (MARS)
Team Role: Mentor
 
Join Date: Jun 2012
Rookie Year: 2009
Location: Morgantown, WV
Posts: 79
sraque is on a distinguished road
Re: Choosing Autonomous via SmartDashboard

Since this is in the Labview forum, I will assume what you need is a custom Labview Dashboard. Take a look at Tutorial 6 from the Labview Welcome Screen. That will get you some fundamentals.

You can then look at our code uploaded here:

http://www.chiefdelphi.com/forums/sh...d.php?t=140812

which includes our Dashboard code. There is a play picker in that code.
Reply With Quote
  #3   Spotlight this post!  
Unread 29-01-2016, 10:10
Greg McKaskle Greg McKaskle is online now
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: Choosing Autonomous via SmartDashboard

Making a custom dashboard is a fine thing to do, but even the default dashboard supports auto picking.

Begin publishes an array of named auto strings. The dashboard shows those in the white ring below the gyro gauge. The Auto VI reads the selector and it is wired to a case statement.

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 08:06.

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