Go to Post I believe everyone should give a modicum of repsect to each person they meet for the first time. After that it is up to them as to whether to give you a reason to increase that respect or detract from it. - Al Skierkiewicz [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
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 15-11-2009, 14:04
bladetech932's Avatar
bladetech932 bladetech932 is offline
Programmer of awesome
AKA: Jon
FRC #0932 (Circuit Chargers)
Team Role: College Student
 
Join Date: May 2009
Rookie Year: 2009
Location: Tulsa
Posts: 242
bladetech932 is on a distinguished road
Question Labview logging

Im am using labview to keep track of scores in a game our robotics team is playing at school with the lego mindstorms. There are many different challenges that are calculated then added to get a "final score"(like a mini FLL). After the calculations are finished the program prints the front panel that is displaying the points for each task in the game. i want to know how if possible to save the front panel to bring up the data from the indicators later so i can look and compare the scores.

Ps. i am using labview 09 student

Ask if you need more clarification Thanks
Reply With Quote
  #2   Spotlight this post!  
Unread 15-11-2009, 17:35
BLAQmx's Avatar
BLAQmx BLAQmx is offline
Software Engineer
no team (National Instruments)
Team Role: Engineer
 
Join Date: Sep 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 100
BLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of light
Re: Labview logging

This task is sometime done by writing the values of all of the controls and indicators to an INI file when the program is terminating. This INI file can then be read when the program is started again as part of an initialization step. LabVIEW includes a nice collection of high level VIs for reading and writing INI files. You can find these VIs in Programming>>File I/O>>Configuration File VIs.

An example of INI file use is the TETRIX Motor Configurator. When the TMC is closing is dumps the contents of the currently displayed DC motor and Servo configurations to an INI file. This file is read at startup to display the last opened configurations.
__________________
NI FIRST Community: Where to go for LabVIEW, Wind River, cRIO-FRC, and NXT support.
Reply With Quote
  #3   Spotlight this post!  
Unread 15-11-2009, 18:04
bladetech932's Avatar
bladetech932 bladetech932 is offline
Programmer of awesome
AKA: Jon
FRC #0932 (Circuit Chargers)
Team Role: College Student
 
Join Date: May 2009
Rookie Year: 2009
Location: Tulsa
Posts: 242
bladetech932 is on a distinguished road
Re: Labview logging

The program is the same program used to calculate scores used over and over would this work for creating 16 different logs for the 16 individual teams?
If so what VIs from that pallet would i use?
Reply With Quote
  #4   Spotlight this post!  
Unread 15-11-2009, 21:24
bladetech932's Avatar
bladetech932 bladetech932 is offline
Programmer of awesome
AKA: Jon
FRC #0932 (Circuit Chargers)
Team Role: College Student
 
Join Date: May 2009
Rookie Year: 2009
Location: Tulsa
Posts: 242
bladetech932 is on a distinguished road
Talking Re: Labview logging

I figured out the saving problem by saving it to a txt file now the VI opens, Runs, Scores, Saves, And Closes automatically how would i reopen the VI again after it has run? it dosen't need to open with those numbers it just needs to open again

Thanks

Last edited by bladetech932 : 16-11-2009 at 09:01.
Reply With Quote
  #5   Spotlight this post!  
Unread 16-11-2009, 10:31
BLAQmx's Avatar
BLAQmx BLAQmx is offline
Software Engineer
no team (National Instruments)
Team Role: Engineer
 
Join Date: Sep 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 100
BLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of light
Re: Labview logging

Maybe you should give the user the option to browse to one of these text file when the program is launched, so they can either open saved data or start with a blank VI and generate a new text file.

I think it would be very helpful if you could describe in a little more detail what your program does and what you are trying to add to it. Being a visual person myself, a flow chart would be very helpful.
__________________
NI FIRST Community: Where to go for LabVIEW, Wind River, cRIO-FRC, and NXT support.
Reply With Quote
  #6   Spotlight this post!  
Unread 16-11-2009, 19:18
bladetech932's Avatar
bladetech932 bladetech932 is offline
Programmer of awesome
AKA: Jon
FRC #0932 (Circuit Chargers)
Team Role: College Student
 
Join Date: May 2009
Rookie Year: 2009
Location: Tulsa
Posts: 242
bladetech932 is on a distinguished road
Smile Re: Labview logging

It is a calculation program running on the computer(not on a target)that you open and it automatically runs. The program has 10 sets of controls that once you select the condition then it multiples by how many points that category is worth. next the indicators are written to a text file from the pallet that you suggested. next the program closes ready for the next match. once you run the VI again the data is added to the text file. After you are done with all of the matches you can pull up the text file to compare the scores.
The person that will use it knows NOTHING about labview or even computers in general and it will need to be as automated as possible. Right now i am just fine tuning the program to be easier to use.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Data logging to internal memory JBotAlan C/C++ 13 13-02-2009 00:04
Time Logging and Team Management? asian_701129 General Forum 9 14-05-2008 23:26
pic: Team Data Logging Device falconmaster Extra Discussion 8 13-03-2007 10:01
White Paper Discuss: Orologio Logging System Julia Magoolia Extra Discussion 6 20-08-2005 02:41
Logging into ChiefDelphi.com question Raven_Writer Website Design/Showcase 8 30-05-2004 11:44


All times are GMT -5. The time now is 19:42.

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