配合64位LabVIEW使用TestStand 2014



主要软件: TestStand
主要软件版本: 2014
主要软件修正版本: N/A
次要软件: N/A

问题: 我在使用TestStand 2014以及更新版本,我希望使用64位LabVIEW来编写代码模块或者开发一个自定义TestStand用户界面,TestStand 2014或者后续版本支持64位LabVIEW吗?

解答:
Note: This KnowledgeBase article applies to TestStand 2014 and later. For information about TestStand 2013以及之前的版本,见KnowledgeBase 50O9851O: Using TestStand 2013 and Previous with LabVIEW 64-bit

TestStand 2014跟之前的版本相比,对于64位LabVIEW的支持更好了,然而,由于从32位代码调动64位代码或者反过来的能力受操作系统的限制,受支持的特性就取决于你用的是32位还是64位TestStand了
64-bit TestStand
64位TestStand是一个64位的进程,这就意味着它能够执行64位的代码,所以64位的TestStand可以使用LabVIEW开发环境或者LabVIEW运行时引擎执行64位的LabVIEW VI,另外,通过64位TestStand开发工具部署64位LabVIEW VI

如果要开发64位TestStand的LabVIEW用户界面,那么就必须使用64位LabVIEW,这是因为64位TestStand用户界面必须在一个64位可执行程序中运行

Note:64位TestStand仅仅支持LabVIEW 2013 SP1以及更新版本的32位或者64位,查看TestStand 2014 Release Notes 以获取更多信息

32-bit TestStand 
32位TestStand不能使用LabVIEW运行时引擎直接运行64位LabVIEW的VI,然而,64位LabVIEW开发系统适配器可以用于从32位TestStand运行64位LabVIEW,这是因为LabVIEW开发系统运行进程独立于TestStand

TestStand 2014以及更新版本里的LabVIEW适配器中可以选择在32位版本或者是64位版本LabVIEW开发系统中执行LabVIEW的VI,通过选择使用64位版本LabVIEW,你可以在32位TestStand中脱离该进程运行64位LabVIEW的VI
不能使用64位LabVIEW为32位TestStand创建用户界面,32位TestStand必须在32位进程中执行,这不能通过64位LabVIEW Application Builder创建
使用独立于比特位的代码来支持32位以及64位TestStand
通过 下面的链接(removing compiled code)将编译好的代码从LabVIEW VI中移除并以source-only的方式保存VI,你可以创建出根据sequence运行的TestStand的比特位来选择LabVIEW的比特位的VI,关于更多的信息,请看下方的链接Simultaneously Supporting 32-bit TestStand and 64-bit TestStand


相关链接: TestStand Help: LabVIEW Adapter Configuration Dialog Box
TestStand Help: Cross-Bitness Support using the LabVIEW Development System 
TestStand Help: Simultaneously Supporting 32-bit TestStand and 64-bit TestStand
KnowledgeBase 6NS7UPDT: Using 64-bit TestStand to Execute 32-bit LabVIEW VIs
KnowledgeBase 50O9851O: Using TestStand 2013 and Previous with LabVIEW 64-bit
Product Documentation: TestStand 2014 Release Notes


附件:





报告日期: 08/01/2014
最近更新: 02/27/2015
文档编号: 6O0C3LDT