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

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

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


HAL Benefits


When addressing obsolescence, HALs yield the benefits of lowermigration costs, faster migration time, higher code reuse, and easiermaintainability.


Lower Migration Costs


The act of designing a user-defined HAL helps you examine thoroughlyyour test system requirements and overall design. By modularizing your testsystem software into different levels, you avoid the extensive test applicationredevelopment that is necessary in a monolithic (nonmodular) test application.In addition to minimizing redevelopment, a user-defined HAL reduces theredocumentation and revalidation burden, which can translate directly intolower migration costs.




HAL的好处


在解决过时问题时,HALs带来的好处包括更低的迁移成本、更快的迁移时间、更高的代码重用和更容易的可维护性。


降低迁移成本


设计用户定义的HAL可以帮助彻底检查测试系统需求和总体设计。通过将测试系统软件模块化到不同的级别,可以避免在单一(非模块化)测试应用程序中所必需的广泛的测试应用程序重新开发。除了最小化重新开发,用户定义的HAL还减少了重新编制和重新验证的负担,这可以直接转化为更低的迁移成本。


Faster Migration Time


The lower migration costs are a direct result of decreasing themigration effort required. The decrease in effort also allows the migrationprocess to go more quickly. Having a well-designed and well-documentedexplanation of your HAL requirements allows developers to work on new DSSP codewhile the existing DSSP layers are used in the “production” (or released)system. This means you are better prepared for a test hardware migration thanyou would be with a traditional monolithic test application.


Higher Code Reuse


When you start with future reuse in mind, you are already ahead ofthe curve when it comes to system architecture. Following the best practice ofseparating test logic from the ASL minimizes dependencies and maximizes reuse.This greatly reduces the overlap of responsibilities and redundant developmentefforts. For example, the limit test uses an upper and lower limit with alinear mask on a frequency/amplitude table (array).


This can be reused by any instrument where a linear mask is testedby a 2D table (array). Isolating your ASL from instrument-specific code alsokeeps you from getting locked into a certain instrument model or manufacturer.


更快的迁移时间


较低的迁移成本是减少所需迁移工作的直接结果。工作量的减少还允许迁移过程进行得更快。对HAL需求有一个设计良好和文档完善的解释,允许开发人员在现有的DSSP层用于“生产”(或发布)系统时处理新的DSSP代码。这意味着与使用传统的单个测试应用程序相比,已经为测试硬件迁移做好了更好的准备。


更高的代码重用


当开始考虑将来的重用时,就已经走在了系统架构的前面。遵循将测试逻辑从ASL中分离出来的最佳实践,可以最小化依赖关系并最大化重用。这大大减少了职责的重叠和多余的开发工作。例如,极限测试在频率/振幅表(数组)上使用带有线性掩码的上限和下限。


这可以被任何用2D表(数组)测试线性掩码的仪器重用。将ASL与特定于仪器的代码隔离还可以免于被锁定在特定的仪器型号或制造商。


Easier Maintainability


The modularity of a user-defined HAL makes isolating and fixing bugseasier. In addition, you can focus any revalidation efforts on the module thatwas fixed, not the entire test application. When you design a user defined HAL,you must document the requirements for each part, which, in turn, allows you toknow what to test each part for. In many cases, the act of defining anddesigning your HAL exposes flaws in your original assumptions, whichfacilitates better system architecture. FreqSweep.vi in the ASL contains thelooping code that executes a frequency sweep. This simplifies the requirementsof the DSSP functions you need and gives you the power to use instruments thatdo not have a built-in frequency sweep capability. It also simplifies the timingbetween the output of the waveform at a certain frequency and the measurementof the maximum amplitude of the DUT at that frequency.


简单的可维护性


用户定义的HAL的模块化使得隔离和修复bug更加容易。此外,可以将任何重新验证工作集中在已修复的模块上,而不是整个测试应用程序。当设计用户定义的HAL时,必须记录每个部分的需求,这反过来又允许知道测试每个部分的目的。在许多情况下,定义和设计HAL的行为暴露了原始假设中的缺陷,这有助于更好的系统架构。FreqSweep ASL中的vi包含执行频率扫描的循环代码。这简化了所需的DSSP功能的要求,并够使用没有内置频率扫描功能的仪器。它还简化了某一频率波形输出与该频率DUT最大幅值测量之间的时序。


Summary


HALs separate the test application from the instrument hardware andhardware-specific software to streamline the upgrade process. The streamlinedupgrade process minimizes the time and costs associated with migrating testapplications. By isolating the software you have to modify, you reduce the costand effort of requalifying code. The other case of migrating existing hardwareto a new software application also benefits from HAL use.


In addition to the separation of test code and hardware, the mainHAL features are measurement compensation, API translation, and abackward-compatible and extensible API.


HAL options include standards-based (for example, IVI),user-defined, or vendor-defined and either an instrument-centric orapplication-specific API. You must weigh the different options and choose themost appropriate HAL type and API option. Because most test systems require amajor upgrade over their useful lives, a HAL reduces the time and costs ofmigrating test software to new hardware by minimizing the impact of new testsoftware development, revalidation, and redocumentation.


总结


HALs将测试应用程序与仪器硬件和特定于硬件的软件分开,以简化升级过程。简化的升级过程将与迁移测试应用程序相关的时间和成本最小化。通过隔离必须修改的软件,可以减少重新验证代码的成本和工作量。将现有硬件迁移到新的软件应用程序的另一种情况也受益于HAL的使用。


除了测试代码和硬件的分离之外,HAL的主要特性是测量补偿、API转换和向后兼容和可扩展的API。


HAL选项包括基于标准的(例如,IVI)、用户定义的或供应商定义的以及以仪器为中心的或特定于应用程序的API。必须权衡不同的选项,并选择最合适的HAL类型和API选项。因为大多数测试系统需要在其使用寿命内进行重大升级,HAL通过最小化新测试软件开发、重新验证和重新编制文档的影响,减少了将测试软件迁移到新硬件的时间和成本。


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

相关文章
|
15天前
|
Linux
kickstart自动安装系统 --DHCP 配置及测试
PXE+Kickstart自动安装系统需配置DHCP服务器分配IP。dhcpd.conf示例:设置更新样式、忽略客户端更新、指定下一服务器及启动文件。定义子网、网关、掩码、动态地址池并预留特定MAC地址。重启xinetd、NFS、DHCP服务,确保新服务器与Kickstart服务器在同一网络,避免误装其他机器。注意隔离测试网络以防干扰生产环境。
61 18
|
9天前
|
测试技术 UED 开发者
软件测试的艺术:从代码审查到用户反馈的全景探索在软件开发的宇宙中,测试是那颗确保星系正常运转的暗物质。它或许不总是站在聚光灯下,但无疑是支撑整个系统稳定性与可靠性的基石。《软件测试的艺术:从代码审查到用户反馈的全景探索》一文,旨在揭开软件测试这一神秘面纱,通过深入浅出的方式,引领读者穿梭于测试的各个环节,从细微处着眼,至宏观视角俯瞰,全方位解析如何打造无懈可击的软件产品。
本文以“软件测试的艺术”为核心,创新性地将技术深度与通俗易懂的语言风格相结合,绘制了一幅从代码审查到用户反馈全过程的测试蓝图。不同于常规摘要的枯燥概述,这里更像是一段旅程的预告片,承诺带领读者经历一场从微观世界到宏观视野的探索之旅,揭示每一个测试环节背后的哲学与实践智慧,让即便是非专业人士也能领略到软件测试的魅力所在,并从中获取实用的启示。
|
2月前
|
测试技术
探索软件测试的多维视角:从单元到系统,从静态到动态
【8月更文挑战第27天】本文将带领读者穿越软件测试的迷宫,从最微小的单元测试开始,逐步扩展到复杂的系统测试。我们将一起探索静态测试和动态测试的不同面貌,以及它们如何互补地确保软件质量。通过实际代码示例,我们将揭示测试用例的设计思路和执行过程,旨在为读者提供一个全面而深入的软件测试全景图。让我们开始这段旅程,解锁软件测试的秘密,确保我们的代码不仅能够运行,而且能够完美运行。
|
2月前
|
监控 网络协议 安全
在Linux中,如何进行系统性能的峰值测试?
在Linux中,如何进行系统性能的峰值测试?
|
2月前
|
运维 监控 Linux
在Linux中,如何进行系统性能的模拟测试?
在Linux中,如何进行系统性能的模拟测试?
|
2月前
|
Java 测试技术 开发者
探索软件测试的多维度:从单元到系统,再到性能测试
本文深入探讨了软件测试的多个关键维度,包括单元测试、集成测试、系统测试以及性能测试。通过分析每个阶段的目标和方法,本文旨在帮助读者理解如何构建一个全面的测试策略,确保软件产品的质量与性能。我们将通过具体案例和数据来揭示不同测试阶段的重要性及其在软件开发生命周期中的作用。
66 0
|
3月前
|
存储 Java
浅析JAVA日志中的性能实践与原理解释问题之测试日志内容大小对系统性能的影响问题如何解决
浅析JAVA日志中的性能实践与原理解释问题之测试日志内容大小对系统性能的影响问题如何解决
|
23天前
|
移动开发 JSON Java
Jmeter实现WebSocket协议的接口测试方法
WebSocket协议是HTML5的一种新协议,实现了浏览器与服务器之间的全双工通信。通过简单的握手动作,双方可直接传输数据。其优势包括极小的头部开销和服务器推送功能。使用JMeter进行WebSocket接口和性能测试时,需安装特定插件并配置相关参数,如服务器地址、端口号等,还可通过CSV文件实现参数化,以满足不同测试需求。
106 7
Jmeter实现WebSocket协议的接口测试方法
|
23天前
|
JSON 移动开发 监控
快速上手|HTTP 接口功能自动化测试
HTTP接口功能测试对于确保Web应用和H5应用的数据正确性至关重要。这类测试主要针对后台HTTP接口,通过构造不同参数输入值并获取JSON格式的输出结果来进行验证。HTTP协议基于TCP连接,包括请求与响应模式。请求由请求行、消息报头和请求正文组成,响应则包含状态行、消息报头及响应正文。常用的请求方法有GET、POST等,而响应状态码如2xx代表成功。测试过程使用Python语言和pycurl模块调用接口,并通过断言机制比对实际与预期结果,确保功能正确性。
101 3
快速上手|HTTP 接口功能自动化测试
|
23天前
|
JavaScript 前端开发 测试技术
ChatGPT与接口测试
ChatGPT与接口测试,测试通过
31 5
下一篇
无影云桌面