NI LabVIEW,CVI,数据采集等产品讨论区

取消
显示结果 
搜索替代 
您的意思是: 

请教:有个读配置文件的vi,build为exe文件后出错,为什么?

Dear All:
 
   我有个读配置文件的vi在LV里可以正常运行,build为exe文件后运行读文件出错,为什么?
 
 附vi&ini文件,帮我找找原因。谢谢!
0 项奖励
1 条消息(共 6 条)
4,849 次查看
Sorry,I forgot to attach the ini file.
0 项奖励
2 条消息(共 6 条)
4,838 次查看
因为你用到了‘Current vi path“这个vi, 你用一个固定的路径代替它,然后把你的ini文件保存到里面?!这样就不会出错了!
________________________________________________________


Try to make everything Automatic
0 项奖励
3 条消息(共 6 条)
4,835 次查看

YuKee:

         我現在用的固定路徑讀ini文件,除了這樣,就沒別的辦法嗎?

 

0 项奖励
4 条消息(共 6 条)
4,819 次查看

is this handle difficult? you can add your *.ini file as a support file below "build appliction"

as your installer exported, ini file will add to PC automatically !

________________________________________________________


Try to make everything Automatic
0 项奖励
5 条消息(共 6 条)
4,817 次查看
if you want to use "Current Vi's path" indeed.
that you must know about "current VI's path" content as you built a installer
its content is " install disk path\application name\application.exe\your vi name.vi
normally, "C:\program files\application name( build insatller named)\application.exe\your vi name.vi
as upon infoes, that you must reshape path before. it will be OK . ^.^
________________________________________________________


Try to make everything Automatic
0 项奖励
6 条消息(共 6 条)
4,813 次查看