LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can someone tell me if Write JPEG File does a Flush File.vi call?

I've got an application that writes a JPEG file to a USB drive and want to ensure that the USB is not corrupted when the user removes the drive.  This is an embedded application so I can't instruct user to "safely remove" the drive and I'm trying to find a simple solution that does not necessarily involve registery work.  Any ideas?

0 Kudos
Message 1 of 2
(1,988 Views)
That VI is password protected, but the BMP version is not so based on that one I'd guess no.  Unless I am mistaken, closing a file has the same effect of writing all buffers to the disk so I think you are safe in that regard.
0 Kudos
Message 2 of 2
(1,984 Views)