zoukankan      html  css  js  c++  java
  • 使用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
  • 相关阅读:
    node 使用 ssh2-sftp-client 实现 FTP 的文件上传和下载功能
    gulp 使用 gulp.spritesmith 组件生成雪碧图
    webpack4 打包多页面应用
    javascript 两个变量值的互换
    微信公众号爬坑(react)
    文件上传(H5 + node)
    前后端分离 ajax 跨域 session 传值 (后端使用 node)
    webpack dev 日记
    npm报错 端口被占用 events.js:167 throw er; // Unhandled 'error' event Error: listen EADDRINUSE 127.0.0.1:9999
    多个 img 之间存在间隔
  • 原文地址:https://www.cnblogs.com/YourDirection/p/14015857.html
Copyright © 2011-2022 走看看