Read JPEG File.vi creates temporary files?

This is a discussion on Read JPEG File.vi creates temporary files? within the labview forums in Programming Languages category; 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 ...

Go Back   Application Development Forum > Programming Languages > labview

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 08-14-2008, 03:10 PM
Premise03
Guest
 
Default Read JPEG File.vi creates temporary files?

Forum,&nbsp;I am using LV 8.5 and I have discovered that the &quot;Read JPEG File.vi&quot; creates temporary files when reading a JPEG file.&nbsp; With a built EXE, the files are created in the root of the C: drive.&nbsp; While running the same code in the LabVIEW IDE the files are created on my H: drive which is for my personal network storage.&nbsp; The filename is formatted as &quot;tXXX.X&quot; where X is a random set of ASCII characters.&nbsp; For example, the file is currently named &quot;t53s.b&quot; and the next time I call &quot;Read JPEG File.vi&quot; it will be &quot;t53s.c&quot;.&nbsp;I discovered this fact using Process Monitor v 1.37 from <a href="http://www.sysinternals.com/" target="_blank">www.sysinternals.com</a>&nbsp; and filtering for the creation of these files. &nbsp;The problem is not the creation of the files, rather in the location they are created.&nbsp;&nbsp;A customer running our app&nbsp;does not allow files to be created off of the root of C: when the user is not an Admin.&nbsp; If I could find a way to tell &quot;Read JPEG File.vi&quot; to create these temporary files somewhere else, that would be sufficient to resolve the issue.&nbsp;Thanks,Chris Roth
Reply With Quote
  #2  
Old 08-14-2008, 03:10 PM
smercurio_fc
Guest
 
Default Re: Read JPEG File.vi creates temporary files?

Fascinating. I never noticed that before. On my system the files are created directly in C:\ while running from the development environment. Doesn't seem to follow any of the paths that can be set in the LabVIEW options. Wonder if the path is determined in the function or whether it uses some other (unknown) key in the LabVIEW.ini file.
Reply With Quote
  #3  
Old 08-15-2008, 07:10 PM
Brian_A
Guest
 
Default Re: Read JPEG File.vi creates temporary files?

Hi Chris,&nbsp;Certainly is an interesting one. &nbsp; I'll look into this and see what we can come up with.&nbsp; This same question has also come up in our email support, so we've definately got something we need to check out!&nbsp; I'll let you know what we find.&nbsp;Regards,&nbsp;
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 06:47 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.