08-08-2013 11:41 AM
Hi there,
I'm looking to write specific information from my program to 2 separate files.
Before the program runs, it asks the operator for their info (name, password, run ID #, a couple safety checkboxes).
So, I would like the first file to record log-in information (i.e. The operator's name, the date and time they accessed the program, and the Run ID #) all in a spreadsheet.
I would like the second file to record data from the different components of the program ( 2 tank levels, a flow meter, and run ID #) in another spreadsheet.
Any thoughts on the best way to do this? I've looked at using arrays to organize the info/data, and then write to spreadsheet, but I haven't quite figured it out...
Thanks,
Daryn
08-08-2013 12:29 PM
For the first, you could convert everything to strings, then send an array of strings. For the second, just send an array of numbers.
Cameron
08-08-2013 01:03 PM
Daryn,
Often the best way to get specific help on something like this is to post your attempts along with a detailed epxlanantion of what you want it to do that it does not do.
Look at the File examples. It is quite likely that one of those or a combination of two of them will do most of what you want. Look under the Help Menu for Find Examples...
Lynn