• 使用64位TestStand调用32位LabVIEW代码模块


    使用64位TestStand调用32位LabVIEW代码模块

    Software

    • TestStand
    • LabVIEW
    • LabWindows/CVI
    • How can I call 32-bit LabVIEW VIs from 64-bit TestStand?
    • How can I configure my code modules to execute on separate processes from my TestStand process?
    The steps below show you how to configure LabVIEW and LabWindows™/CVI™ code adapters to execute code modules out-of-process. This is accomplished by configuring the adapter to use the LabVIEW Development System or the LabWindows/CVI development environment to execute code modules, which allows the code modules to access a separate memory space from the TestStand process itself.

    Since the LabVIEW Development System is a separate process from TestStand, it is also possible to use a 32-bit version of the LabVIEW Development System to execute 32-bit VIs from 64-bit TestStand.
     
    1. In TestStand, select Configure»Adapters...

    The Adaptor Configuration dialog box appears, in which you can change settings that apply to each adapter.
    1. Enable the Selected button next to the adapter you want to configure. Click the Configure… button.

    The Configuration dialog box for the adapter appears.
    1. For LabVIEW, select LabVIEW Development System and specify which version. If you want to execute 32-bit VIs, select Use Active 32-bit Version.
    Note: By selecting Use Active 32-bit Version, all LabVIEW VIs in the test sequence will execute in the 32-bit LabVIEW Development System. However, individual VIs can be configured to Always Run VI In LabVIEW Run-Time Engine, which would allow a 64-bit VI to be executed in-process during the execution. This setting can be configured on the Advanced Settings dialog of a step with a LabVIEW code module.
     

    For LabWindows/CVI, select Execute Steps in an External Instance of LabWindows/CVI.
    1. Click OK. You have now configured the Adapter to execute out-of-process.


    如果你不想改变适配器配置,参考如下:

    软件

    • TestStand
    • LabVIEW

    问题详述

    我已经在64位 TestStand 中创建了一个序列,并尝试用其调用32位 LabVIEW 代码模块。将适配器设置为32位 LabVIEW 运行引擎时,我无法运行序列,也无法更改代码模块的版本。

    解决方案

    最好能事先计划好,确保使用的代码模块和测试管理软件的位数相同,但这并不是每次都可能。

    使用32位的 NI TestStand 可以运行一个保存为64位的序列。
    因此,如果您的应用程序允许,可以使用32位 TestStand 运行保存为64位的 TestStand 序列。这将使您能够使用32位 TestStand 的运行时引擎适配器运行任何代码模块。
     
     
    参考:https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YGjoCAG&l=zh-CN
  • 相关阅读:
    红黑树
    jsp简单练习-简单的下拉表单
    【源代码】TreeMap源代码剖析
    ScrollView垂直滚动控件
    进度条控件基本使用
    时间对话框的使用
    DatePicker日期与时间控件
    ImageView显示网络上的图片
    bitmap==null
    android.os.NetworkOnMainThreadException
  • 原文地址:https://www.cnblogs.com/YourDirection/p/14015857.html
Copyright © 2020-2023  润新知