02-21-2006 07:22 AM
Hi Nishant,
Before implementing the example, I will need to know the following.
Will the filename always remain the same? Or does the vi have to adapt for changing leading filenames?
Ray
02-21-2006 10:20 PM
Hiii, Ray
Ya we are currently goin to give the feature for the same file name, so please implement it for me, then after as per that vi, i ll modify th evi for the different names. but right now, its to urgent for me, thats why i don have try myself and left it on you, only three days left for the deadline, and i am facing more problems in the LabVIEW as i am still new to it.
Thanks,
Nishant
02-22-2006 08:17 AM
Sounds like you are having fun.
I do have an example ready.. I will wrap both styles within a Case Statement so that you do not loose functionality and can re-use past implementation.
Atually, the new method should handle both. I'm very busy so it may not be tested.. but should work.. 😉
Later,
Ray
02-22-2006 04:06 PM
Hi Nishant,
It's been a busy day..
Here it is: (attached). You will have to create a blank file in the directory of your vi called: filenames.lst
there is a 's' at filenames
Gatta go..
02-23-2006 03:22 AM
Hiii, Ray
You are absolutely right that i am enjoying my assignment,enjoying the LabVIEW, enjying the forum, and more importantly, i am enjoyong working with the, there are so rare people left in the world, who are always ready to help,and because of you i am at good stage in my company, cos i will complete my assignment in time, which is so rare people are doin, i am still facing 1-2 problems, but i am sure i ll solve it. thanks for the help. i ll come back again if i want any other help, bcoz "students always comes to the master to learn something".
Thanks,
Nishant
02-23-2006 04:55 AM - edited 02-23-2006 04:55 AM
Hiii, Ray
I am in somewat trouble here, actually it is asking for the filename.lst in the directory, which i select, if there is no such kind of file in that folder, it gives me the error as shown in the error.jpg here,and if it is there, it will do the function right,what is that? from that file, user might be in trouble, if he change the file path. another thing while replacing the file, it gives the prompt to the user, is it windows based or labview based? i want to remove that prompt, here i am trying that, you answer me about that if you know, i ll use it.
Thanks,
Nishant
Message Edited by Nishant on 02-23-2006 04:57 AM
02-23-2006 05:59 AM - edited 02-23-2006 05:59 AM
Message Edited by Nishant on 02-23-2006 06:07 AM
02-23-2006 08:00 AM
Hi Nishant,
The reason for the filenames.lst is to keep track of the last number assigned to that filename. It is because of the feature where, if the file number exceeds the maximum number, it rolls back to 1 and overwrites the existing files.
So it has to keep track of the last number assigned, since it cannot simply create a new number. The reason for using a file is that it should remain statis in between running the vi..
🙂
Ray
02-26-2006 12:51 AM
Hiii, Ray
Its a sunday today but i am still in the office for the project, i want toask you about the logic of "Does the file exist?", coz i want to done the same thing in the create file with headers for deleting the file if it is existing and i think we must have to do it for the existing file,otherwise its a problem of user prompting for Replace existing file, which i dont want , so please explain me that part, here i am trying to understand it but couldnt get it yet, probably i think i will but it is preferable that you also explain me and if possible modify vi, so it is helpful for me.
Thanks,
Nishant
02-26-2006 11:25 PM