01-21-2010 11:32 PM
Solved! Go to Solution.
01-21-2010 11:42 PM
01-22-2010 12:03 AM
Hi,
When you are writing the jpeg file the filename you enter is the same that is why it is overwriting the file,
everytime you run the program.
As said above use the shift register or try different methods to name the file.
Regards,
Shrek
01-22-2010 12:43 AM
01-22-2010 01:13 AM
hi
do you want that once you stop your VI then it should save the image ? if yes then i think you should use event structure .
also see the attached VI of how to use shif register
regards
01-22-2010 01:16 AM
01-22-2010 01:37 AM
01-22-2010 09:11 AM
Hi nolsqn, muks
Thanks for your reply.
Nolsqn, it will be pleaseure if you can convert vi that you upload cause i'm using labview version 8.5
What exactly i'm trying to do is to save waveform from begining i run vi until i stop it. Let say if i run vi for 10 second, it will save 10 picture of waveform and it done automatically. The vi that i attach here able to save waveform in format jpeg but it keep asking me to choose the path to save the waveform. I just want it done automatically and does not overwrite the previous save file.
Muks, i try to run you vi but there was an error. I can't find function "IMAQ Write Jpeq file ". Is that because i'm using previous version of labview?
01-22-2010 09:19 AM
Don't worry about that function. It's from IMAQ and you do not need that toolkit. What you should be looking at is how the file name is dynamically created. Modify as necessary.
01-22-2010 10:59 PM
Hi,
One of the method by which you can name a file without overwriting is by giving the current time as the filename.
It will create a seperate file as per time, check forum for the ex.
Regards