LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

6i

I am using LabView 6i Application Builder

 

I am trying to create 2 very similar (not identical) exe files.

The 1st one was created, but the second one stopped during "save with options"

 

The error message reads:   Cannot save VI "Open/Create/Replace File.vi"  The file name is invalid.

 

I'm confused, this is a NI LabView vi.  It is on my PC with this exact name.

 

Thank you for your help.

 

 

0 Kudos
Message 1 of 3
(2,552 Views)

In your vi that causes problems, have you tried replacing (deleting) "Open/Create/Replace File.vi" with the one in your Functions Palette?

Then trying to build again...

 

R

Message 2 of 3
(2,546 Views)

That VI and its goofy name goes way back to the DOS days when you were limited to file names with eight characters. LV got around that using .llb files that extended the file names but did not anticipate MS making the slashes delimiters. So much for the trip down memory trail. 

 

Two thoughts come to mind:

 

When doing the "save with Options" use the "Preserve hiarchy" option and make sure you are not saving the files from VI.lib (one of theoptions in the dialog).

 

The other idea is to find the offending VI you sited and open its front panel and doing a "Save as..." to a new LEGAL file name. Then go back your code and do a "replace" to now use your leaglly named VI.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 3 of 3
(2,528 Views)