Go to Post trust me, confused machines aren't fun to be around. - [527]phil [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 31-01-2013, 08:07
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: 330
fovea1959 will become famous soon enough
Setting and saving values on Dashboard

we're doing vision on our DS, and we're going to need to save all the vision parameters when we get to the venue and do calibration, then load them when we load the DS before a match.

I'm thinking about the best way in LV to pick up the initial values of a lot of controls on the DS (and some subVis). I saw this article Remembering Control Values, and am also aware of the ability to put the control values into a cluster and use cluster-to-XML and XML-to-cluster to save and load.

If I do XML cluster save and load, it looks like load would have to (for each saved value) get the value from the bundle, explicitly get the appropriate control refererence, and set the value). Do I have this right, or is there an easier way to load?

Making the cluster and saving the values looks simpler, just bundle up the values and write them.

Am I barking up the right trees, or is there an easier way to do what we need? We will *not* be running the development environment on the field for calibration, so saving current values as default is not an option.
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 12:12.

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