07-31-2007 10:44 PM
07-31-2007 11:04 PM - edited 07-31-2007 11:04 PM
Message Edited by bangbit on 07-31-2007 11:10 PM
Message Edited by bangbit on 07-31-2007 11:13 PM
07-31-2007 11:42 PM
The way to attach an image or VI is to click the Browse button next to the Attachment box below this message body.
The image that you did post, only calclates one value. The for loop does nothing. If you have an array of values you would like to calculate, place the arrays outside the for loop. Then, wire the results out of the for loop. When you wire an array through a for loop, the for loop automatically indexes the array. The opposite is also true. When you wire a result out of a for loop, an array is automatically created. Outside the for loop, create a 2D array from the two separate results with the Build Array function. The output of this can be wired to the Write to Spreadsheet File. There's no real need for the while loop.