08-14-2008 01:53 PM
Forum,
I am using LV 8.5 and I have discovered that the "Read JPEG File.vi" creates temporary files when reading a JPEG file. With a built EXE, the files are created in the root of the C: drive. While running the same code in the LabVIEW IDE the files are created on my H: drive which is for my personal network storage. The filename is formatted as "tXXX.X" where X is a random set of ASCII characters. For example, the file is currently named "t53s.b" and the next time I call "Read JPEG File.vi" it will be "t53s.c".
I discovered this fact using Process Monitor v 1.37 from www.sysinternals.com and filtering for the creation of these files.
The problem is not the creation of the files, rather in the location they are created. A customer running our app does not allow files to be created off of the root of C: when the user is not an Admin. If I could find a way to tell "Read JPEG File.vi" to create these temporary files somewhere else, that would be sufficient to resolve the issue.
Thanks,
Chris Roth
08-14-2008 02:09 PM
08-15-2008 05:41 PM
Hi Chris,
Certainly is an interesting one. I'll look into this and see what we can come up with. This same question has also come up in our email support, so we've definately got something we need to check out! I'll let you know what we find.
Regards,
08-22-2008 03:49 PM
Sorry for neglecting this thread a bit. Chris has been working directly with another Applications Engineer on this issue, but I suppose I should try to keep this thread updated as well!
So here's a quick update: It seems these temp files are only created when a boolean True is wired in to the "use 8 bit color table" input of the Read JPEG File VI. Also, the temp files do not appear to be created in LabVIEW 8.6.