2010 vi打中文會出錯

在包裝成exe檔時

<font =“apple-style-span” color=“#ff0000”>An error occurred while saving the following file:
<font =“apple-style-span” color=“#ff0000”>
<font =“apple-style-span” color=“#ff0000”>C:\Users\sda\Desktop\20110201-存檔註解選單功能 - 複製 - 複製\CSADS.llb\路徑globals.vi
他說我vi錯誤,但我修正時卻發現找不到錯誤
索性從寫一個,檔名也改成英文
後來可以了,但下一個中文vi卻又出現一樣的問題
<font =“apple-style-span” color=“#ff0000”>Visit the Request Support page at ni.com/ask to learn more about resolving this problem. Use the following information as a reference:
<font =“apple-style-span” color=“#ff0000”>
<font =“apple-style-span” color=“#ff0000”>Error 1 occurred at AB_Source_VI.lvclass:Close_Reference.vi -> AB_Build.lvclass:Save.vi -> AB_Build.lvclass:Copy_Files.vi -> AB_Application.lvclass:Copy_Files.vi -> AB_EXE.lvclass:Copy_Files.vi -> AB_Build.lvclass:Build.vi -> AB_Application.lvclass:Build.vi -> AB_EXE.lvclass:Build.vi -> AB_Build.lvclass:Build_from_Wizard.vi -> AB_UI_Frmwk_Build.lvclass:Build.vi -> AB_UI_FRAMEWORK.vi -> AB_CreateNewWizard_Invoke_CORE.vi -> EBUIP_CreateNewWizard_Invoke.vi -> EBUIP_CreateNewWizard_Invoke.vi.ProxyCaller
<font =“apple-style-span” color=“#ff0000”>
<font =“apple-style-span” color=“#ff0000”>Possible reason(s):
<font =“apple-style-span” color=“#ff0000”>
<font =“apple-style-span” color=“#ff0000”>LabVIEW:  An input parameter is invalid. For example if the input is a path, the path might contain a character not allowed by the OS such as ? or @.
<font =“apple-style-span” color=“#ff0000”>=========================
<font =“apple-style-span” color=“#ff0000”>NI-488:  Command requires GPIB Controller to be Controller-In-Charge.
請問有解決辦法嗎?
他寫了這麼多,我還是看不出我問題出在哪?

首先 不建議檔名取中文
再來檔名不要取跟內建vi相同或類是的檔名
最後檔名不要有特殊符號如 @ ? / 之類的

基本上就如<span =“apple-style-span” style="font-size: 12px; line-height: 18px; -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px; "><span =“bold” style="font-family: verdana, arial, helvetica, sans-serif; color: rgb(0, 0, 0); font-size: 12px; text-decoration: none; ">SCOTT7O<span =“apple-style-span” style=“font-weight: normal;”>所說~

<span =“apple-style-span” style="font-size: 12px; line-height: 18px; -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px; "><span =“bold” style="font-family: verdana, arial, helvetica, sans-serif; color: rgb(0, 0, 0); font-size: 12px; text-decoration: none; "><span =“apple-style-span” style=“font-weight: normal;”>檔名或VI裡面盡量不用中文字體~
<span =“apple-style-span” style="font-size: 12px; line-height: 18px; -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px; "><span =“bold” style="font-family: verdana, arial, helvetica, sans-serif; color: rgb(0, 0, 0); font-size: 12px; text-decoration: none; "><span =“apple-style-span” style=“font-weight: normal;”>也許"中文版"的LabVIEW版本OK.
<span =“apple-style-span” style="font-size: 12px; line-height: 18px; -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px; "><span =“bold” style="font-family: verdana, arial, helvetica, sans-serif; color: rgb(0, 0, 0); font-size: 12px; text-decoration: none; "><span =“apple-style-span” style=“font-weight: normal;”>我過去的經驗是LV6.0~8.5或多或少都會出現狀況…

2009用時已幾乎都中文化了

包含檔名與裡面註解
應為寫的是中文應用程式
為了放便學弟妹看得懂
用2009時沒有遇過此問題
現在要全改回來,工程浩大壓
應為程式很龐大
沒有其他辦法了嗎= =


bbsda0140597.5251273148

有另一種可能解決方式是開啟的路徑都不要有中文檔名~就是如"<span =“apple-style-span”=“” style=“color: rgb(255, 0, 0); font-size: 16px; line-height: 24px; “>20110201-存檔註解選單功能 - 複製 - 複製“這個資料夾~記得有些軟體(如LV)在開啟路徑中遇到中文編碼的資料夾會有問題!!

就如他所提到的”<span =“apple-style-span”=”” style="color: rgb(255, 0, 0); font-size: 16px; line-height: 24px; “>For example if the input is a path, the path might contain a character not allowed”~所以你可以考慮試試看VI檔名仍以中文為主~但是轉成EXE的資料夾都以英文為主(ex.C:\example…我最喜歡安裝或讀取或存放在這裡…因為一定都是英文路徑!!)~

此外我覺得~畢竟LV根本上是以英文編碼~中文編碼可能會偶而因為不知道的原因而導致程式讀取出錯~(經驗談)

雖然工程浩大~不過統一以英文取檔名應該是個一勞永逸的方式~
tony723840597.5527893519

<span =“apple-style-span” style="font-size: 16px; line-height: 24px; ">資料夾、路徑

<span =“apple-style-span” style="font-size: 16px; line-height: 24px; ">英文還是不能解決問題
<span =“apple-style-span” style="font-size: 16px; line-height: 24px; ">2009沒這問題的說…
<span =“apple-style-span” style="font-size: 16px; line-height: 24px; ">

唉~改回去工程太浩大了

我灌回2009問題就解決了


題外話~雖然灌回2009就沒問題!~

是指在安裝成.exe 的情況下嗎?
若不是的話?~以後會不會有其他問題產生?~

不過這樣的話~以後要轉成.exe 檔就必須都使用2009(或更舊版?)~

畢竟因為以前實驗上並不常需要轉成.exe~
所以看起來你是寫好大量的vi然後要轉換成.exe~
這樣我就瞭解你所說的全部要改回英文檔名的問題了~(因為真的很多~)

Goodluck~

這隻程式已經寫好5年了

從8.2到現在2009都沒有問題
包裝成的exe檔也一直都可正常運行
2010突然不行(至少現在還找不到答案)
害我很困擾的說= =

我也是遇到2010打中文有問題的現象。

新的labview 2010 sp1就可以解決了。