Go to Post You are not allowed to think outside of the box, but you are allowed to think diagonally in the box. - eugenebrooks [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 Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 16-02-2016, 20:55
darklink2458 darklink2458 is offline
Registered User
FRC #4915 (Spartronics)
Team Role: Programmer
 
Join Date: Feb 2016
Rookie Year: 2015
Location: WA
Posts: 5
darklink2458 is an unknown quantity at this point
Talking Drop down menu in SFX

Hey Chief Delphi I'm having trouble with making a drop down menu in SFX (smart dashboard 2.0) thanks for any help you can give me
  #2   Spotlight this post!  
Unread 16-02-2016, 21:39
euhlmann's Avatar
euhlmann euhlmann is offline
CTO, Programmer
AKA: Erik Uhlmann
FRC #2877 (LigerBots)
Team Role: Leadership
 
Join Date: Dec 2015
Rookie Year: 2015
Location: United States
Posts: 321
euhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud of
Re: Drop down menu in SFX

You can use a SendableChooser
http://first.wpi.edu/FRC/roborio/rel...leChooser.html
https://wpilib.screenstepslive.com/s...smartdashboard
  #3   Spotlight this post!  
Unread 16-02-2016, 22:01
darklink2458 darklink2458 is offline
Registered User
FRC #4915 (Spartronics)
Team Role: Programmer
 
Join Date: Feb 2016
Rookie Year: 2015
Location: WA
Posts: 5
darklink2458 is an unknown quantity at this point
Re: Drop down menu in SFX

Thanks but we have already tried that when we use this it returns the default values
  #4   Spotlight this post!  
Unread 17-02-2016, 09:47
mreynolds's Avatar
mreynolds mreynolds is offline
Team Captain | Head of Controls
AKA: Matthew Reynolds
FRC #4946 (The Alpha Dogs)
Team Role: Programmer
 
Join Date: Sep 2015
Rookie Year: 2014
Location: Ontario, Canada
Posts: 7
mreynolds is an unknown quantity at this point
The sendable chooser is the easiest and most reliable way of doing this, I can help you debug your code if you want, you can post it in a paste bin or GitHub if you want
  #5   Spotlight this post!  
Unread 21-02-2016, 10:45
An Outlier An Outlier is offline
Registered User
AKA: Julian Bernard
FRC #5687 (The Outliers)
Team Role: Programmer
 
Join Date: Mar 2015
Rookie Year: 2015
Location: Milky Way Galexy
Posts: 31
An Outlier is an unknown quantity at this point
Re: Drop down menu in SFX

I have had abundant problems with this widget, but after painstaking repetition, I have developed a solution. Please follow the below steps EXACTLY to ensure you get the same results!

1) Make a new Tab in the SFX - Dunno why, but just safer to start fresh

2) Click the "+" or "add" tab, and drag in the Options array from your SendableChooser

3) Double-click the SendableChooser to edit the widget, and copy the Path EXCEPT for the "/options" part. This should look something like "SmartDashboard/AutonomousMode/options". ONLY COPY the "SmartDashboard/AutonomousMode"

4) Add another widget, ComboBox

5) Edit the ComboBox widget and paste the path.

6) Should be good to go! Make sure to press the "Play"/Green arrow to interact with the chooser
  #6   Spotlight this post!  
Unread 29-02-2016, 10:36
Joe Derrick's Avatar
Joe Derrick Joe Derrick is offline
Mentor - Programming
FRC #0319
 
Join Date: Feb 2012
Rookie Year: 2011
Location: Prospect Mountain High School
Posts: 44
Joe Derrick is a glorious beacon of lightJoe Derrick is a glorious beacon of lightJoe Derrick is a glorious beacon of lightJoe Derrick is a glorious beacon of lightJoe Derrick is a glorious beacon of lightJoe Derrick is a glorious beacon of light
Smile Re: Drop down menu in SFX

Worked for us thank you
__________________
2010-2017 Mentor Team 319
2012 - Rockwell Automation Award Winner
2014 - Xerox Creativity in Engineering Winner, Archimedes Division
2015 - Rockwell Automation and Gracious Proffesionalism Winner, Tesla Division
2016 - North Shore and UNH District Event Winner, Carson Division
http://www.frc319.com
  #7   Spotlight this post!  
Unread 23-03-2016, 19:08
tcjinaz tcjinaz is online now
Tim
FRC #3853
Team Role: Mentor
 
Join Date: May 2011
Rookie Year: 2011
Location: Arizona
Posts: 206
tcjinaz has a spectacular aura abouttcjinaz has a spectacular aura about
Re: Drop down menu in SFX

We're not seeing the morph option. What did we mess up?
__________________
Software Mentor
3853 Pridetronics[

  #8   Spotlight this post!  
Unread 30-03-2016, 19:06
darklink2458 darklink2458 is offline
Registered User
FRC #4915 (Spartronics)
Team Role: Programmer
 
Join Date: Feb 2016
Rookie Year: 2015
Location: WA
Posts: 5
darklink2458 is an unknown quantity at this point
Re: Drop down menu in SFX

Quote:
Originally Posted by tcjinaz View Post
We're not seeing the morph option. What did we mess up?
No the morph button has not been working on our smart dashboard either
  #9   Spotlight this post!  
Unread 31-03-2016, 01:17
tcjinaz tcjinaz is online now
Tim
FRC #3853
Team Role: Mentor
 
Join Date: May 2011
Rookie Year: 2011
Location: Arizona
Posts: 206
tcjinaz has a spectacular aura abouttcjinaz has a spectacular aura about
Re: Drop down menu in SFX

Quote:
Originally Posted by darklink2458 View Post
No the morph button has not been working on our smart dashboard either
Very disappointing. Now we stick to SmartDashBoard. Or, we make the leap back to that fantastic GUI construction system available in the LabView DashBoard.

I am not happy about the BeerHall Putsch that forced me to Java this year.

T
__________________
Software Mentor
3853 Pridetronics[

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 01:37.

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