04-25-2010 01:55 PM
Hi
I am working on Data Logging project and requirement is to log data data to excel sheet at one per second. Moreover the name of excel sheet should be automatic date time stamp generated. Can anybody help me in generating datetime stamp file name for this file which I have downloaded from ni website.
Thanks
Solved! Go to Solution.
04-25-2010 01:59 PM
Hi mimran,
you can use the "Get Date/Time in Seconds" function. Create a string from this data and use it as the path for your file.
Mike
04-25-2010 01:59 PM - edited 04-25-2010 01:59 PM
Your program does not create an Excel File. It creates a text file that Excel is able to open up and import.
As it is right now, the name of the file you create is determined by a dialog box that pops up with the old version of the Open/Create/Replace file that you have. If you want the program to determine the file name, you need to build a file path out of string data in the same manner you are using the string coming from the Get Date/Time String function you have inside the loop.
04-26-2010 04:13 PM