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.