I have a for loop that is going to write a number of files. I wish to name all the files differently bu have to many file to type in a new name each time. I there a way to say add the loop iteration to the filepath to create a contiuously changing file name? E.G iteration 1, Datafile1 iteration 2, Datafile2......
You can convert the current iteration number to a string such as "5". Then use the string concatenation primitive to append a generic name like "Iteration " to get "Iteration 5". Then use build path with that and the directory.
I have several applications running on customer's sites with a similar file naming requirement. I use the Date/Time vi and convert to a string. This way, using time resolution, or alternatively, the absolute value of the millisecond tick count, you will always have a unique file name. A bonus; the files will be time-sequentially named.