View Single Post
  #5   Spotlight this post!  
Unread 15-03-2015, 16:28
wt200999's Avatar
wt200999 wt200999 is online now
Texas Instruments
AKA: Will Toth
FRC #3005 (Robochargers)
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2004
Location: Dallas, Texas
Posts: 323
wt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud of
Send a message via MSN to wt200999
Re: Dashboard Saving Values

You cannot programmically 'set default value' on a front panel object, as this value is compiled into the code.

Instead you could implement a config file. When the dashboard first loads you can read the value stored and set the front panel object. And when you want to save it you just overwrite this value. LabVIEW's ini file pallette works well for this, under Programming --> File I/O --> Configuration File VIs,
__________________
Programming in LabVIEW? Try VI Snippets!

FIRST LEGO League 2004 - 2005
FRC Team 870 Student 2006 - 2009
FRC Team 3005 Mentor 2013 -
Reply With Quote