This should be a rather simple problem for a lot of you more experienced programmers. I'm trying to do 10 things at once right now and this text file issue is thing number 11, so I thought I'd save me some time and let you guys suggest a clean way to do this!
My program allows the operator to enter in a serial number for the device they will test. This serial number is used as the name of the text file that stores the test cycle data for that unit. What I would like my program to do is to first check and see if there is already a text file with that name that already exists. I have that part working.
Next, if it finds a file with that name already, I would like LabView to automatically rename the existing file (I'm renaming it by concatenating the current date/time string on to the file name), then move that renamed file to a different folder called "Backup files".
Like I said, this is a fairly simple task and I'm running into some stupid hiccups. So I would greatly appreciate some tips on this from you all while I focus on some other program issues for now.
Thanks!
********************************************
Amateur programmer for over 10 years!
********************************************