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.
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.
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?
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
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.
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.