LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Files created in C:\Documents and Settings\userid\Local Settings\Temp\ even though tmpdir set in INI file

Forum,
 
Using LV 8.5 and despite setting tmpdir in my built EXE's ini file, there are still files being created in my PC's default temp folder C:\Documents and Settings\userid\Local Settings\Temp\.  The files are:
BMD Client_8.5_userid_cur.txt
nixEA.tmp
lvsEB.tmp
lvsEC.tmp
lvsED.tmp
lvtl278595612.rsc
 
After the EXE is shut down, the only file remaining is
BMD Client_8.5_userid_cur.txt
 
Why is the tmpdir INI file setting ignored?
 
Chris Roth
Message 1 of 6
(3,755 Views)
Hi Chris,

What is the setting in your ini file? (the command itself?)

Do you have an example that I can test with my system?

Thanks!

Warm regards,
Karunya R
National Instruments
Applications Engineer
Message 2 of 6
(3,724 Views)
Karunya, I added tmpdir="C:\Program Files\Premise\BMD Client 4.0.1\temp" to my EXEs INI file. I then restarted the EXE and the files I mentioned were still being written to C:\Documents and Settings\userid\Local Settings\Temp. No example. This happened with LabVIEW 8.5 as well. That is, going to Tools>>Options>>Paths and setting the Temporary Directory to something other than the default. Then restarting LabVIEW. Saw the addition of tmpdir in the LabVIEW.ini file, but no apparent effect to LabVIEW itself. Chris Roth
0 Kudos
Message 3 of 6
(3,694 Views)

Hi Chris,

 

I was able to you replicate your issue about the temporary directory not getting changed. I appreciate your feedback on this. This was reported to R&D 123239 for further investigation. 

 

Thanks!

 

Warm regards,
Karunya R
National Instruments
Applications Engineer
Message 4 of 6
(3,668 Views)

Hi Chris,

 

After you selected the temporary directory in LabVIEW, did you hit replace and then restart LabVIEW?

 

Warm regards,
Karunya R
National Instruments
Applications Engineer
Message 5 of 6
(3,592 Views)
Yes.  I see the tmpdir setting in the LabVIEW.INI file as well.
0 Kudos
Message 6 of 6
(3,552 Views)