09-11-2008 09:49 AM
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.
09-11-2008 10:05 AM
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
09-11-2008 02:48 PM
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