LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Data logging on date basis

I am working on a project, in that project i am logging data in text file, based on date. when date will change file will be change.

there is a condition , if month change than i have to delete text file of previous month one bye one from 1st to 30,31st.........

 

along with this query i am sending image of my logging vi

 

please give me the solution.............

 

 

 

 

 

Prashant Soni
LabVIEW Engineer
0 Kudos
Message 1 of 2
(2,539 Views)

If i well understood your problem, I think the solution can be found in the vi "check if file exists".

You're writing a file which name is based from the date of the month. For exemple june2010.txt.

You check if the file exists :

If yes, you store your datas with control of size.

If this file doesn't exists, you create a new one, with initialization.

Hope it will help you.

V-F
Message 2 of 2
(2,520 Views)