Jump to content
Bob Schor

Allow Replace or Create option on Easy Write XML File

Recommended Posts

A "Feature" of Easy Write XML File is that it errors out if the file already exists (i.e. if you need to overwrite a file). I urge you to add an optional Operation input to allow such an Overwrite to take place. True, the user could add code to (1) test if the file exists, (2) delete it if true, and (3) then do the Easy Write, but why require additional code, particularly if "inside" the protected VI you are doing an ordinary LabVIEW Open/Create/Replace file, and only need to change the operation from "Create" (the default) to "Replace or Create" (or to "Replace or Create with Confirmation"). If you did incorporate this change, it would be perfectly legitimate to raise an error for some other Operation input, of course.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.