12-22-2006 07:16 PM
您好!
当我把VI转成EXE后,VI中的子VI存在什么地方,就是说用File I/O<File constants<Current VI’s path指定路径找到子VI。是否还有其它该好的方法。
在此谢谢!
12-22-2006 09:08 PM
12-22-2006 09:29 PM - edited 12-22-2006 09:29 PM
谢谢!按您的方法,当我把gza.vi(1Dto2D.Vi为动态调用的子VI)转成EXE文件,复制到其它计算机上(其它计算机硬盘内没有1Dto2D.Vi文檔,在VI转EXE时加入子VI1Dto2D)执行时,出现图示的提示框,单击OK键后,再运行此执行文件,图示的提示框不出现了,执行档运行正常。请教您这是什么问题,是在动态调用1Dto2D.Vi的路径(Current VI’s path)出现问题吗?
注:每次关闭执行文件再打开时,图示的提示框只出现一次。
帖子被gza在12-22-2006 09:33 PM时编辑过了
12-22-2006 10:45 PM
first, i cannot see the picture you've attached because you attached the file straight from your computer and i do not have that file... you need to attached it and then post it using the url provided by this forum... i know this is not the point, just a suggestion... ![]()
second, from my understanding, you have a gza.vi that requires 1Dto2D.vi and you've compiled both into an exe file... when you pressed the OK button after the first run, the exe works to expected result.. but when running it the second time, the screen doesnt appear to ask you to press OK but its still working as expected...
if its according to what I understand, i do not think its the locating of the file (finding the VI) that is giving you the problem... what i think is when you are compiling the exe, the settings was not set to your preference... sorry if i misinterpret you...
12-22-2006 11:29 PM
Thank you very much!
祝您圣诞节快乐!
12-23-2006 02:22 AM
12-25-2006 10:35 PM
对不起, 圣诞节这个时期我不在...
as for memory full, i'm not too sure whether its your computer's memory or it reached labview's limit.. i do not think its labview array's memory is full as i've stored more den 10k of values in an array before (unless your array is bigger of cos) and it got rather lag only without any errors... i also do not think its your data length too long.. labview will automatically convert them to decimal points to reduce the length but still maintaining the actual value (123,456,789 shown as 1.23457E+8)...
sorry for not being able to help you more... maybe some pro can answer your question... 对不起...
12-25-2006 11:50 PM
Thank you,可能是系统影响内存的原因吧!
Best regards!
12-26-2006 10:07 AM
12-26-2006 10:47 AM
The only part of this conversation that I can fully follow is "1Dto2D" and "Memory full".
Could you please post an image of the block diagram?
I can only guess that you are trying to code "Reshape Array" and are running into trouble building a buffer in an un-initialized shift register.
Ben