zoukankan      html  css  js  c++  java
  • 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的版本问题

  • 相关阅读:
    Linux 系统挂载数据盘
    Apache Rewrite规则笔记
    linux fdisk分区笔记
    阿里云linux配置
    linux 下安装mysql相关笔记
    ShopNC目录结构分析
    今天开始出发做ShopNC
    svn相关笔记
    linux学习笔记-不定时更新
    Oracle EBS Java Applet报错:找不到类
  • 原文地址:https://www.cnblogs.com/xyqCreator/p/2837094.html
Copyright © 2011-2022 走看看