LabVIEW如何减少下一代测试系统中的硬件过时3

简介: LabVIEW如何减少下一代测试系统中的硬件过时3

LabVIEW如何减少下一代测试系统中的硬件过时3


Initial System Configuration


As shown in Figure 4, the test application is running on an NI PXIembedded controller with Windows XP. The PXI controller is connected to theAgilent 33220A signal generator through LAN, to the Tektronix TDS2024 oscilloscopeover USB, and to the Fluke 8845A DMM over GPIB. The NI-SWITCH is controlledover the PXI bus in the PXI chassis. The test fixture is made fromcommercial-off-the-shelf (COTS) products. A low-pass, lowfrequency filter andLED are on the DUT.

Figure4. Hardware in Implementation Example


On top of Windows XP, the application uses NI-VISA to call into thebus specific code (NI-488.2 for GPIB,Windows USB stack, Windows TCP/IP stack).Because NI-VISA will support new instrument control buses in the future, you donot have to worry about upgrading to models that incorporate these new bustechnologies. Also, just like LabVIEW, NI-VISA is OS independent, so you canmove it onto any other OS that NI supports.


To call into NI-VISA, the application uses either LabVIEW Plug andPlay instrument drivers or IVI drivers. The IVI drivers require the IVICompliance Package. NI-VISA includes NI Measurement & Automation Explorer(MAX), which is used to establish communication with the instruments andconfigure the IVI Class driver sessions necessary to use the interchangeabilityfeature of IVI. It would also have been feasible to call directly into VISA fromthe DSSP implementation (direct I/O), but that is recommended only if aninstrument driver is not available.


HAL Implementation Software Architecture


Figure 5 shows the HAL architecture with specific functions listedand the instrument models displayed. The switch is initialized and closeddirectly in ASL by using the NI-SWITCH instrument driver. Though less thanideal, this illustrates that sometimes interchangeability is a higher priorityfor certain instrument/measurement types. Deviating from ASL-DSSP conventionleaves room for future improvements. The ability to add switch functions to theDSSP and create DSSP modules for switches shows how you can extend the HAL.


Figure5. Software in Implementation Example


Test code and ASL code in thisimplementation are standard VIs, not LabVIEW classes. Only the DSSP layer uses LabVIEWclasses (OOP) to allow for dynamic interchangeability and ease developmentefforts by creating a standard set of DSSP functions. The dashed line in Figure5 shows where the interchangeability occurs.


Figure 6 shows the project explorer view of the HAL implementationin LabVIEW. Private data that can be accessed only by the class is representedas a control (.ctl file) and requires Data Member Access VIs such as “Read Instr Resource Str.vi“。

Figure6. Project View of HAL Implementation in LabVIEW

需要说明的是,上述的例程和文档,都是可以下载的,双击即可打开,其中压缩文件是可以采用粘贴复制的方式,拷贝到硬盘上。这不是图片,各位小伙伴看到后尝试一下,这个问题就不用加微信咨询了。有关LabVIEW编程、LabVIEW开发等相关项目,可联系们。附件中的资料这里无法上传,可去公司网站搜索下载。

相关文章
|
5天前
|
存储 监控 Cloud Native
如何通过持续测试和调整来提高OLAP系统的性能和可扩展性?
【5月更文挑战第14天】如何通过持续测试和调整来提高OLAP系统的性能和可扩展性?
13 2
|
5天前
|
传感器 数据采集 算法
LabVIEW无人机大气数据智能测试系统
LabVIEW无人机大气数据智能测试系统
12 3
|
5天前
|
存储 供应链 数据管理
Spartacus 在 Back-Office 修改库存后,下单测试,系统表现完美
Spartacus 在 Back-Office 修改库存后,下单测试,系统表现完美
14 2
|
5天前
|
前端开发 测试技术 数据安全/隐私保护
软件测试 —— 案例系统缺陷报告
软件测试 —— 案例系统缺陷报告
8 1
|
5天前
|
传感器 存储 数据采集
LabVIEW MEMS电容式压力传感器测试系统
LabVIEW MEMS电容式压力传感器测试系统
32 4
|
5天前
|
传感器 人工智能 测试技术
热敏电阻怎么进行性能测试?并以LabVIEW为例进行说明
热敏电阻怎么进行性能测试?并以LabVIEW为例进行说明
26 2
|
5天前
|
网络协议 安全 测试技术
性能工具之emqtt-bench BenchMark 测试示例
【4月更文挑战第19天】在前面两篇文章中介绍了emqtt-bench工具和MQTT的入门压测,本文示例 emqtt_bench 对 MQTT Broker 做 Beachmark 测试,让大家对 MQTT消息中间 BenchMark 测试有个整体了解,方便平常在压测工作查阅。
136 7
性能工具之emqtt-bench BenchMark 测试示例
|
5天前
|
机器学习/深度学习 数据采集 人工智能
【专栏】AI在软件测试中的应用,如自动执行测试用例、识别缺陷和优化测试设计
【4月更文挑战第27天】本文探讨了AI在软件测试中的应用,如自动执行测试用例、识别缺陷和优化测试设计。AI辅助工具利用机器学习、自然语言处理和图像识别提高效率,但面临数据质量、模型解释性、维护更新及安全性挑战。未来,AI将更注重用户体验,提升透明度,并在保护隐私的同时,通过联邦学习等技术共享知识。AI在软件测试领域的前景广阔,但需解决现有挑战。
|
5天前
|
测试技术
如何管理测试用例?测试用例有什么管理工具?YesDev
该文档介绍了测试用例和测试用例库的管理。测试用例是描述软件测试方案的详细步骤,包括测试目标、环境、输入、步骤和预期结果。测试用例库用于组织和管理这些用例,强调简洁性、完整性和可维护性。管理者可以创建、删除、重命名用例库,搜索和管理用例,以及通过层级目录结构来组织用例。此外,还支持通过Excel导入和导出测试用例,以及使用脑图查看用例关系。后台管理允许配置全局别名,如用例状态、优先级和执行结果。
|
5天前
|
机器学习/深度学习 人工智能 运维
深入探索软件测试:策略、工具与未来趋势
【5月更文挑战第14天】在软件开发的生命周期中,测试环节扮演着至关重要的角色。它不仅保证产品能够达到预定的质量标准,还有助于提前发现并修复潜在的缺陷,从而减少维护成本和提高用户满意度。本文将深入探讨当前软件测试领域的最佳实践,包括测试策略的制定、工具的选择以及面对快速变化的技术环境如何保持测试活动的前瞻性和灵活性。通过分析自动化测试、性能测试和安全测试等关键领域,本文旨在为读者提供一个全面的软件测试指南,同时对未来的发展趋势进行预测。

热门文章

最新文章

http://www.vxiaotou.com