08-02-2010 02:56 PM
I gave it a try and it still isn't working
08-02-2010 03:49 PM
Wire a true constant to Append to File input of your Write Spreadsheet File. Not False.
08-02-2010 04:10 PM
it does it but it only displays in one of the columns it doesn't append it to all the columns
08-02-2010 04:42 PM
I have already explained to you what you need to do back in message #40. To repeat:
"Because of the way you want to have the columns you would need to initialize the 2D array as a 2D array of strings. You'd want one additional row for the number of rows portion of the 2D array size (right now it's set to be the same as the number of points). In the loop you would append the row of headers to the 2D array that gets build out of the individual 1D arrays. Try it - it's not that hard"
08-02-2010 04:58 PM
So you are trying to rewrite your entire file on every iteration of the For Loop?
Then you need to move your Write to Spreadsheete File for the header inside the For Loop.
08-02-2010 05:25 PM
Ravens Fan, the fundamental problem is the way he wants the output file to look like. He wants the data to be output horizontally instead of vertically. If it were the latter it would be real easy. Message #17 contains the output file format.
08-02-2010 08:36 PM
You're probably right. The requirements he's looking for have twisted and turned so much through 6 pages of messages, it's no longer clear what he wants.
Seeing the last message of "it still isn't working", without details, I'm guessing what the problem is. And seeing he's trying to put headers into a file, but then immediately overwriting by having a False going into the Append? input was a huge red flag.
08-03-2010 10:37 AM
Smercurio fc do you have any tips on how I can solve my problem in Message #45. It seems like it runs the correct amount of times but when I try to display it, it only displays the amount in "Sweep X" it seems like everything in the nested for loop gets overwritten. Thanks
08-04-2010 10:21 AM
You have a false wired into the "Append to file" terminal. That means that all of your data is going to be overwritten. You need to have a true constant there so that in each loop iteration, it appends the data to the file.
08-04-2010 11:19 AM
Scott I attached the output i'm getting, It's not making sense.