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

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

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


Steps to Replace Instruments


Performance Requirements


The important consideration to make when replacing instruments isthat the replacements must meet your requirements, usually by having equal orbetter measurement functions. For example, a replacement DMM should have anequal or better resolution and sampling rate (among other things).


Configuration


After you have procured suitable instruments, you need to update theconfiguration file with the hardware resource information. Usually this willrequire you to configure the instruments in whichever utility you use (MAX isused for NI-VISA and NI modular instruments).


DSSP Development and Testing


After you update the configuration file, you should start developingand debugging the new DSSP modules for the new instruments. It is recommendedthat you replace only one instrument at a time so you can debug your new DSSPwith the existing “proven” DSSPs. Either way, you should use a “golden DUT” todetermine instrument differences and compensate for them in the new DSSPmodule. Through the course of developing and testing the replacement DSSPmodules, you start out by testing only one new module (and the accompanyinghardware) to see if there are any differences for which the DSSP needs tocompensate. In this example, the testing exposes a scaling difference between theTektronix scope measurements and the NI digitizer measurements. The solution isto add linear scaling to the NI digitizer DSSP module as shown in Figure12.


When updating the test hardware, and the corresponding DSSP modules,you do not necessarily have to do a one-to-one replacement. For instance, ifyou have a signal generation function and a DC voltage measurement functioncurrently implemented with two separate instruments, the replacement instrumentcould be “synthetic” and implement both signal generationand DC voltage measurement. This is one of the advantages of anapplication-specific API and having two layers within the HAL.


更换仪器步骤


性能需求


更换仪器时要考虑的重要事项是,更换的仪器必须满足您的要求,通常是具有相同或更好的测量功能。例如,替换的DMM应该具有相同或更好的分辨率和采样率(在其他方面)。


配置


在采购到合适的设备后,需要更新配置文件,使配置文件中包含硬件资源信息。通常,这将要求您在任何您使用的实用程序中配置仪器(MAX用于NI- visa和NI模块化仪器)。


DSSP开发和测试


在更新配置文件之后,您应该开始为新仪器开发和调试新的DSSP模块。建议您一次只更换一个仪器,这样您就可以用现有的“经过验证”的DSSP调试新的DSSP。无论哪种方式,您都应该使用“黄金DUT”来确定仪器差异,并在新的DSSP模块中对其进行补偿。在开发和测试替换DSSP模块的过程中,您首先只测试一个新模块(以及附带的硬件),以查看是否存在DSSP需要补偿的任何差异。在本例中,测试暴露了泰克示波器测量值和NI数字化仪测量值之间的缩放差异。解决方案是在NI数字化仪DSSP模块中添加线性缩放,如图12所示。


当更新测试硬件和相应的DSSP模块时,您不一定要做一对一的替换。例如,如果您有一个信号生成功能和一个直流电压测量功能,目前由两个单独的仪器实现,那么替代仪器可以是“合成的”,并同时实现信号生成和直流电压测量。这是特定于应用程序的API的优点之一,并且在HAL中有两层。


Only the instruments, the DSSPs, and the XML configuration filechanged. The top level test application and test results did not change. Themain benefits of this hardware replacement process are that the top level test applicationand the test results were not altered. Also, once an instrument has beenintegrated into the HAL, it can be interchanged and the DSSP can be reused byother test applications and extended if necessary.


HAL Features


HALs are useful because of the features that they implement. Table 3lists the main features of HALs with a short explanation of each.


只有工具、dsps和XML配置文件发生了变化。顶层测试应用程序和测试结果没有改变。这个硬件替换过程的主要好处是顶级测试应用程序和测试结果没有改变。此外,一旦仪器集成到HAL中,它就可以相互交换,DSSP可以被其他测试应用程序重用,并在必要时进行扩展。


HAL特征


HAL之所以有用,是因为它们实现了一些特性。表3列出了HALs的主要特征,并对每个特征进行了简要解释。

需要说明的是,上述的例程和文档,都是可以下载的,双击即可打开,其中压缩文件是可以采用粘贴复制的方式,拷贝到硬盘上。这不是图片,各位小伙伴看到后尝试一下,这个问题就不用加微信咨询了。有关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天】在软件开发的生命周期中,测试环节扮演着至关重要的角色。它不仅保证产品能够达到预定的质量标准,还有助于提前发现并修复潜在的缺陷,从而减少维护成本和提高用户满意度。本文将深入探讨当前软件测试领域的最佳实践,包括测试策略的制定、工具的选择以及面对快速变化的技术环境如何保持测试活动的前瞻性和灵活性。通过分析自动化测试、性能测试和安全测试等关键领域,本文旨在为读者提供一个全面的软件测试指南,同时对未来的发展趋势进行预测。

热门文章

最新文章