06-12-2006 08:44 AM
06-12-2006 09:42 AM
There are many ways to write data and timestamp information to files in LabVIEW. For a thorough reference, check the LabVIEW example finder. Just click on help, find examples in LabVIEW and select fundamentals, file input and output. The "write text file" and "write datalog file" examples should be exactly what you are looking for.
I hope this helps. If you need more assistance, please let me know which VI you are using to write the text file and provide details of data collection, timestamp strings, etc.
Casey Weltzin, National Instruments
06-12-2006 09:55 AM
06-12-2006 10:15 AM
06-13-2006 04:31 AM
06-13-2006 05:00 AM
06-13-2006 06:38 AM
06-13-2006 06:54 AM
06-13-2006 07:04 AM
06-13-2006 07:37 AM
Hi twilight,
Absolutely, you can add timestamps in that format in the header. You can also timestamp the filename, however, do not use the columns ":". For instance you could use a naming convention that looks like mainfilename_yymmdd_no.
mainfilename: a descriptive name
yymmdd: 060613
no: sequential number
You could create two filenames in parallel, one being even number and the other odd.
Also, depending on implementation, it could automatically create a new filename as soon as the actual time passes midnight. Nothing fancy or special to add to the code. As they say, "there are many ways to skin a cat".... I've never skinned any cat... nor would I want to, but it's just a saying..
JLV
=== Footnote: No cats were harmed in this post ===