Go to Post I WANT to see teams succeed. - Steve W [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #6   Spotlight this post!  
Unread 17-08-2013, 17:34
fovea1959's Avatar
fovea1959 fovea1959 is offline
Herder of programmers
AKA: Doug Wegscheid
FRC #3620 (The Average Joes)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: St Joseph
Posts: 332
fovea1959 will become famous soon enough
Re: Interactive Widgets on SmartDashboard

I want the same capability we have with LabView. We can add GUI widgets to the LV Dashboard, and the value of the widgets are tied to what's in the SmartDashboard network tables. If the GUI widget is a LV "indicator", then it just reflects what's in the network table, if it's a LV "control", then changing what's on the dashboard will change the corresponding table entry.

The Java SmartDashboard has some of this, but doesn't seem to have GUi elements; I can't tie a slider to a number in the NetworkTable, for instance; my only display option is a text box.

We can work around it; Test mode gets us part of the way there, using the "fake" analog and digital inputs on the DS helps more (or building a real console with the Cypress), but I wanted to be sure that I wasn't missing a capability that was already there.

Writing a Swing application to present a UI and poke/read the network tables is straightforward, but doing and persisting the GUI layout would be a challenge for where I am right now, Swing-wise (I'm a J2EE guy)...
Reply With Quote
 


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 11: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