Re: File Permission Error (8) when trying to delete file

2004-03-05 Thread DonRoth
Hello Robert:

See my latest reply to Ben which in fact refers to the URL you point
to

Thanks,

Don



Re: File Permission Error (8) when trying to delete file

2004-03-05 Thread Robert M
Hello Don,

Are you opening multiple files?  If so, http://digital.ni.com/public.nsf/websearch/7A2BA0127EF8AB7B862565870=
04E35FB?OpenDocument>this
knowledge base may apply to your case.

If this doesn=92t help, or if I=92m not correctly understanding your
issue, please post the software and versions you are using, the
applicable portions of your code, and any other information that may
help, and I=92ll be happy to look further into it.

Have a nice day!

Robert M
Applications Engineer
National Instruments



Re: File Permission Error (8) when trying to delete file

2004-03-05 Thread Ben
Hi Don,

I believe I heard Jean-Pierre explain this as having to do with the
file system and delays in the file actually being closed.

There are lots of things that cuase this delay while running in a
Windows OS. This may be due to the fact that the file system does not
know the file is closed yet.

I believe the final solution was to check for the error, if detected,
delay and retry.

Ben



http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=261&HRedirected=True&HUserId=101_3529&RFORMNUMBER=6";>Ben
Rayner
http://volt.ni.com/niwc/common.jsp?page=products_certification_cld&node=10638";>
Certified LabVIEW Developer 
www.DSAutomation.com



Re: File Permission Error (8) when trying to delete file

2004-03-04 Thread DonRoth
The code is a subsection to source code of over 100 mb llb for our
ultrasonic scanner.  I am trying to figure out a creative way to form
a simple version of the problem but whenever I craft a basic VI
utilizing the delete fx, the delete operation works just fine  So as
of yet I am not able to reproduce the problem in a simple VI.  That is
why I thought some folks could shed light or suggest some things to
look for.

As I indicated in the initial post, I thought the origin of the
problem could only be three possibilities: 1) the file is of the wrong
name and therefore not found (although would probably get file not
found error) but in fact it is the correct file and path, 2) the file
is still open (it is not, I close it right before the delete fx), or
3)somehow some permissions have been set that do not allow a delete
operation.



Re: File Permission Error (8) when trying to delete file

2004-03-04 Thread BJD1613
Don,

could you post the code so we could have a look at it?

thanks
Brandon