01-09-2009 02:14 PM
Hello Everyone,
How can I have my data be written to the same file for a week and then automatically start writing to a new file for the following week? How can I make it write to the same file for sometime and then automatically make it write to another file for another period of time.
Thank you in advance,
Corina
01-09-2009 03:58 PM
I do a simillar thing all teh time but for new files every day.
Use the Format Date/Time String function to keep track of the week number (in my case I look at the date) and change the file when the week nimber changes.
I have attached a screen capture of a code snippet so you can see what I mean.
01-10-2009 04:38 AM - edited 01-10-2009 04:38 AM
Hello Corina.. 🙂
I tried something in LabVIEW 7.1... Hope you are looking for the same... 🙂
01-11-2009 04:42 AM
Hi Corina,
you can use a function to calculate the week number from the current date. Use the calcualted number in your path and you automatically get a new path for a new week. With this you don't need to remembe/check the last used path.
Mike