LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VI cannot be saved after editing lv_new_vi.vi

After editing lv_new_vi.vi, I can no longer save the new VI....
Plus, the asterisk * that appears in the title bar of the edited VI does not show up.
How can I fix this?
If anyone knows, please let me know.

 

I attached the error message and the image of the contents of lv_new_vi.vi.cannotsave.PNGLV_NEW_VI.PNG

0 Kudos
Message 1 of 8
(2,069 Views)

Looks like you're running a non-English OS version and hence the file path contains a Japanese Yen symbol instead of a slash.

 

Please use a proper path to save the file.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 2 of 8
(2,062 Views)

Thank you.
But when I rewrite the path constant from "C:¥" to "C:\", Labview will add "¥" on its own to become "C:¥\".
Is there a setting to change this?

0 Kudos
Message 3 of 8
(2,050 Views)

Try turning on slash codes on your constants and front panel controls so that you have better control over what you are doing.  Just remember the slash code for a "\" is "\\"  Thus c:\ in slash code would be c:\\

0 Kudos
Message 4 of 8
(2,021 Views)

It still doesn't work.
I cannot remove ¥ from the path, and I cannot create a new VI from a template with a path that has ¥ and \ mixed in.

If I enter a path with only ¥, I can save the new VI opened by running lv_new_vi, but I cannot save the new VI opened by Ctrl+N.

0 Kudos
Message 5 of 8
(1,978 Views)

Sorry. I realized that all the backslashes I thought I had typed were regular slashes.
It seems that only the ¥ symbol can be entered in the path in Japanese OS.

 

The half-width ¥ mark and the half-width backslash are the same character code, so I don't think that is the problem.

0 Kudos
Message 6 of 8
(1,968 Views)

Now I can save it!
I needed to specify the application instance.

https://forums.ni.com/t5/LabVIEW/New-VI-default-window-size/m-p/4139689#M1193218

 

However, I still don't know how to display the asterisk to indicate that I have edited the file.

0 Kudos
Message 7 of 8
(1,952 Views)

I ended up using this to change the VI to open with "Ctrl+N".
I don't know why, but the asterisks also show up correctly before saving.

quick create a new vi from template - *Uncertified* - LAVA (lavag.org)

0 Kudos
Message 8 of 8
(1,822 Views)