LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Write JPEG file.vi automatically overwrites

Hi,

 

Im using the "Write JPEG file.vi", i wire the path i wish to save the file to from earlier in my program and this cannot be changed. My problem is that if the file already exists, the vi automatically overwrites it without prompting the user. How can i make it possible to prompt the user? Possible some check between the wired path and the directory before running the vi?

 

Thanks,

Mark

0 Kudos
Message 1 of 5
(3,811 Views)

Hi Mark,

you can use the "Check if file of Folder exists.vi" to check if your file already exists.

Which LabVIEW version do you use?

 

Mike

Message Edited by MikeS81 on 01-07-2009 09:22 AM
0 Kudos
Message 2 of 5
(3,808 Views)

Hi Mark, 

   

    Mike given the exact answer while i preparing, just see the attachment 

 

Thanks and regards

Balaji(Certified Associate developer)

  

Balaji PK (CLA)
Ever tried. Ever failed. No matter. Try again. Fail again. Fail better

Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.
0 Kudos
Message 3 of 5
(3,801 Views)
Im using version 8.5. That worked perfectly, thank you very much.
Message 4 of 5
(3,791 Views)

Hai Eastwood,

 

Is your problem solved? If so please mark (Whichever you think is the best solution for your query). This will help others facing same problem and looking for a solution.

 


Balaji PK (CLA)
Ever tried. Ever failed. No matter. Try again. Fail again. Fail better

Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.
0 Kudos
Message 5 of 5
(3,617 Views)