NI Measurement Studio 打包问题的解决(原创)

问题及现象:

程序中调用了NI的Led、switch等控件的3D样式,在开发环境下可正常显示,但打包后装入新系统后出现不能正常显示的问题。

解决:

1、在NI网上查到如下信息:

Why Do Measurement Studio 3D Style UI Objects Not Display In My Installer Application?

Problem:
I deployed a Measurement Studio application but some 3D Style UI controls, such as LED or gauge, doesn't show on screen while other controls, such as graphs, show fine. The application runs fine on my own machine where I have installed the Measurement Studio environment. When I install the application on other machine, I still have that problem. How can i solve this issue?
Solution:
A common cause for 3D Style UI objects to not display when deployed to a new system is that the Mesa.dll is missing. Mesa.dll contains the information that the application needs to render the 3D control styles. Make sure that NIMesaDLL.msm is included in your Visual Studio setup project. Refer to the Measurement Studio help topic Measurement Studio .NET Merge Modules for information on which assemblies your application needs.
Use the directions in the Measurement Studio Help topic Deploying Measurement Studio Applications to create a deployment for Measurement Studio applications.

可以参考以下信息:

http://digital.ni.com/public.nsf/allkb/ABAE912AAE671AC08625788D0076BE51?OpenDocument

http://digital.ni.com/public.nsf/allkb/6677098983C36F9086256CFE007F457A?OpenDocument

其中提到两点:

1)NIMesaDLL.msm合并模块要加入打包文件中。

2)Mesa.dll的使用。

说明:

1、在加入NIMesaDLL.msm前提下,xp下一定要加入Mesa.dll,但Win7系统下可以不加也能正常显示。

2、后来测试不用加NIMesaDLL.msm,只加Mesa.dll到安装目录下面就可以正常显示了

3、请注意上述两个文件的版本及Measurement Studio其它DLL的版本问题

 

 

 

转载于:https://www.cnblogs.com/xyqCreator/archive/2012/12/28/2837094.html

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
要下载NI Measurement Studio 6.0,请按照以下步骤操作: 1. 打开你的互联网浏览器,进入NI(National Instruments)的官方网站(www.ni.com)。 2. 在网站的首页或搜索栏中,输入“NI Measurement Studio 6.0”的关键字,点击搜索按钮。 3. 在搜索结果中,找到与“NI Measurement Studio 6.0”相关的链接或页面,点击进入。 4. 进入所选链接或页面后,查找并点击可用的“下载”或类似的选项。 5. 在下载页面上,选择你的操作系统(例如Windows或Linux)和适用的版本(32位或64位)。 6. 点击“下载”按钮开始下载NI Measurement Studio 6.0的安装文件。 7. 下载完成后,双击安装文件并按照安装向导的指示操作。 8. 在安装过程中,你可能需要接受许可协议、选择安装路径和选择组件的安装选项。 9. 完成安装后,你可以在计算机上找到并打开NI Measurement Studio 6.0。可以通过桌面快捷方式、开始菜单或应用程序文件夹找到它。 10. 使用NI Measurement Studio 6.0之前,可能需要激活软件或注册产品。按照软件提供的提示完成这些步骤。 NI Measurement Studio 6.0是一个功能强大的测量与自动化开发工具集,它可以帮助你进行数据采集、分析和控制系统等测量应用的开发。使用该工具集,你可以轻松地创建用户界面、进行数据处理、与硬件设备进行通信等操作。无论是学术研究、工业控制还是实验室测试,NI Measurement Studio 6.0都是一个优秀的选择。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值