找回密码
 注册
LabVIEW+单片机学习套件全套教程资料下载[免费]LabVIEW论坛精华列表贴USB0816数据采集卡《LabVIEW宝典》
LabWindows/CVI论坛精华贴NET0816以太网数据采集卡RC0210远程设备授权系统 关闭关停锁定打开设备 户外分布式数据采集
NET1624低速高精度以太网数据采集卡WIFI0824SD无线WIFI网络数据采集卡脱机运行 SD存储 小尺寸微型 串口采集远程采集 安卓 手持移动采集 纪录仪
查看: 2355|回复: 22

请教版主及各位高手,如何像附件中的程序一样把前面板移除

[复制链接]
发表于 2009-7-20 11:10:11 | 显示全部楼层 |阅读模式
先请大家把附件打开

在附件ExtApp.llb中的vi。当你双击打开的时候提示不能加载前面板。(见附件)

请问各位大大,如何做到的。

ps。我的LV是7.1版本的

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
 楼主| 发表于 2009-7-20 11:28:25 | 显示全部楼层
回复 顶

使用道具 举报

发表于 2009-7-20 11:34:14 | 显示全部楼层
这个错误没看到过,或许你可以去NI主页搜索下,这个也是在lv开发遇到error code的一个很常见的解决办法。至于你说的要把前面板移除,估计是不可以的,前面板是用来交互的,一般不需要去处。倒是后面板,有的时候需要保护原代码,是可以去处的。
回复 顶

使用道具 举报

 楼主| 发表于 2009-7-20 12:25:19 | 显示全部楼层
诶呀,多谢斑竹赐教,
我的问题的重点不是在于出的错误上,而是如何做到附件中的效果把前面板去掉,或则使其不能被加载!而且能运行的哦!
你说的后面板能去掉我知道如何做。
附件中llb文件中的子vi居然没有前面板我也很匪夷所思啊。但是事实如此。相信这也是对程序框图的一种保护手段。坐等高人继续。不知道是不是在打包进llb文件所做的处理!
回复 顶

使用道具 举报

 楼主| 发表于 2009-7-20 15:07:46 | 显示全部楼层
谢谢斑竹回答
斑竹你认真看附件了么,人家已经实现了的,如果不是把前面板移除掉的话就是使其不能被加载。从而导致整个vi不能打开。但是整个程序还可以运行。我想这也是加密的一种方式吧。。。

猜测是不是在打包进llb文件时做的什么操作。。。???
坐等高人来8
回复 顶

使用道具 举报

发表于 2009-7-20 20:52:28 | 显示全部楼层
"LabVIEW Load Error Code 3: Could Not Load Front Panel" When Running a LabVIEW Executable

Primary Software: LabVIEW Development Systems
Primary Software Version: N/A
Primary Software Fixed Version: N/A
Secondary Software: N/A



Problem:
I have created a LabVIEW executable using LabVIEW's Application Builder. When I run the executable file that I created, I receive the message: LabVIEW load error code 3: Could not load front panel. Why am I getting this error, and what can I do to avoid it?

Solution:
When you build an executable in LabVIEW, the Application Builder removes the front panels of all of your program's subVIs. These front panels are generally unnecessary to your program, and removing them allows for the creation of a much smaller executable file.

If you have a program that displays the front panels of subVIs while it is executing, then you need to explicitly tell the Application Builder to include those front panels before creating the executable file. In order to do this, please follow the steps below:

Open Application Builder and add your Top-Level VI
Click on the VI Settings tab
Highlight the subVI that needs to have its front panel included
Press the Edit Build Settings... button at the bottom of the screen
Select 'No' from the 'Remove Panel' drop-down menu
Press the Change button at the bottom of the screen
Repeat Steps 3-6 for any other subVIs that need to have their front panels included
Finish building your application as you normally would

This should take care of the problem that you are seeing. If you complete these steps, and you are still seeing the issue, then try going through Steps 3-6 for every VI in your program. This will take care of the problem but leave you with a very large executable file. Once you have verified that the executable file is working, you can then start removing front panels one at a time until you identify the subVI that was causing the problem.

Related Links:
Developer Zone Tutorial: Creating Executables with the LabVIEW Application Builder
Developer Zone Tutorial: Distributing Applications with the LabVIEW Application Builder
Knowledgebase 3SS92EHF: Why Won't the Front Panel of my SubVI Open When I Create an Executable?
Knowledgebase 3R7C7LHY: How Can I Change the Value of Show Panel in the LabVIEW Application Builder?
回复 顶

使用道具 举报

发表于 2009-7-20 20:53:42 | 显示全部楼层
How to handle LabVIEW Error 3: Could not load front panel

--------------------------------------------------------------------------------

From: crimolvic <x@xxxxxxxx>
Date: Tue, 2 Aug 2005 10:40:43 -0500 (CDT)

--------------------------------------------------------------------------------
I was working on an application, running a vi when the computer turned off. It took me a little time to start the computer again (is not an old computer, is a P4, 1GB, ABIT IG7 MotherBoard). After I unplugged and plugged the Power Unit it was possible to start the computer, before starting, it says that a CPU problem occured and press F1 to continue. Afer press F1 Windows started normally. Then I tried to open the vi in which I was working when the problem occured and LabVIEW says:
&nbsp;
LabVIEW: Resource not found.
&nbsp;
An error occurred loading the vi.
LabVIEW load error code 3: Could not load front panel.
&nbsp;
The question is, can I open my vi someway or I just lost it?
&nbsp;
I will really appreciate your answers since I have been working for a long time in this vi.
回复 顶

使用道具 举报

发表于 2009-7-20 20:54:02 | 显示全部楼层
it looks like that the vi has broken.
回复 顶

使用道具 举报

 楼主| 发表于 2009-7-21 09:27:16 | 显示全部楼层
wdyjz,appreciate your answers
回复 顶

使用道具 举报

 楼主| 发表于 2009-7-21 09:47:11 | 显示全部楼层
wdyjz ,谢谢您的用心回复。不知道是不是我没有表述清楚。现在我想知道的不是如何去解决这个问题。而是如何达到附件中vi的效果。(即:llb中的vi不能够单独打开,但是调用该vi的其他vi却能够正常运行。。。)
另外该帖子中提到的是主vi和subvi之间的问题,不存在exe(executable file)或者dll。

由于过去遇到的LabVIEW的问题都不太难。所以从来没有试过去NI的帮助系统去看,wdyjz 的回复给我提了个醒。 呵呵,I appreciate you。Tks
回复 顶

使用道具 举报

发表于 2009-7-21 16:42:55 | 显示全部楼层
本帖最后由 HHHHLLLL 于 2009-7-22 09:30 编辑

是这样的,计算机所有保存的数据都是二进制的数据,一个VI里面包含了很多信息:
前面板控件信息和后面板程序代码信息,经过MD5加密的密码信息,密码狗等,也就是壳和肉的信息,通过第三方的手段把VI里面的FP信息
移除或者破坏后,但仍然保留BD信息,那么LV是可以正常被调用运行的,又因为FP信息被破坏了,或者
被移除了,LV当然无法正常Load出FP,所以会出现楼主的现象,这个我曾经试过,而且还特别做了一个FP Remove Assistant,证明我的理论是正确的!

我上传一个我去除面板的VI,8.6版本的,感兴趣的试试,它可以做子VI调用,但它是无法打开面板的。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
回复 顶

使用道具 举报

发表于 2009-7-21 21:52:51 | 显示全部楼层
回复 顶

使用道具 举报

发表于 2009-7-22 17:36:12 | 显示全部楼层
对这些底层的东西不懂,呵呵,我也崇拜下HHHHLLLL
回复 顶

使用道具 举报

发表于 2009-7-29 10:40:43 | 显示全部楼层
HHHHLLLL 能否写出如何定位FP信息的流程?或者说是去re-engerneering整个VI结构?看样子你是做过的,不知道是否可以写个这方面的教程?期待。。

一直在网吧上网,所以不能打开楼主的附件,没说清楚的地方,还请见晾。

看了wdyjz的回复,问题就应该很明白了,楼主调用的vi是第三方提供的,而他们在提供之前,已经用application builder把FP去处了,wdyjz说的是进行excutable的build,但估计在进行其它(名字忘了,但有一个好象是专门为了程序员之间code share的)build的时候,也是一样成立的。
回复 顶

使用道具 举报

发表于 2009-7-29 11:05:44 | 显示全部楼层
14# 飞雨天
恩,对VI的信息了解到理解需要很长的经验积累时间,和做大量的一些软件实验。
我所能做的都是自己从网络以及自己经验的积累所实现到的。关于这样的偏门(不太正道)的技术,我不好在这样的官方网站发表了。
回复 顶

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|cpubbs论坛. ( 粤ICP备09171248号 )

GMT+8, 2026-9-29 11:01 , Processed in 0.059767 second(s), 12 queries , Gzip On, File On.

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表