Test & Measurement


New LabVIEW toolkits automate software testing

15 April 2009 Test & Measurement

National Instruments recently announced the NI LabVIEW Unit Test Framework and LabVIEW Desktop Execution Trace toolkits, which are new software engineering tools for the LabVIEW graphical development environment.

This coincides with the release of NI Requirements Gateway 1.1 requirements management software. When developing large-scale or complex applications with LabVIEW software, engineers can use these toolkits to help validate systems, improve software quality and test code against requirements.

Software debugging and testing is a complex, expensive and time-consuming task for developers. As the complexity and sophistication of software increase, developers need more regimented and automated procedures to ensure thorough testing and help with code validation. The LabVIEW Unit Test Framework and LabVIEW Desktop Execution Trace toolkits are designed to automate and improve common software engineering tasks.

With the LabVIEW Unit Test Framework Toolkit, engineers can automate requirements-based testing and the validation of VIs developed in LabVIEW. Automating this process reduces the amount of time developers spend performing tests and enables more exhaustive testing. Engineers can specify test cases that define inputs and compare the results after execution with expected output to perform functional and regression testing of software.

The included reporting functionality can automatically generate validation documents in HTML, ATML/XML or ASCII formats, which are valuable for documenting that the application works correctly. The LabVIEW Unit Test Framework Toolkit also integrates with NI Requirements Gateway to help engineers manage requirements documents for software testing, track the amount of coverage and understand the impact of changes.

The LabVIEW Desktop Execution Trace Toolkit is a dynamic code analyser that engineers can use during run time to detect and locate problems in code that could impact performance or cause unexpected behaviour. It shows a chronological view of events, queue operations, reference leaks, memory allocation, unhandled errors and subVI execution. Highlighting individual events gives engineers additional information such as the call chain, thread ID and CPU number to help them debug and optimise their LabVIEW code. They can also double-click many events to highlight the corresponding object on the block diagram.

Engineers can use other LabVIEW toolkits to enhance software testing. The LabVIEW VI Analyser Toolkit performs static analysis of VIs to improve code style and readability as well as increase performance and usability. Also, the NI Real-Time Execution Trace Toolkit helps engineers gather low-level information about the execution of LabVIEW code on a realtime target.

With NI Requirements Gateway 1.1, engineers can improve the quality and efficiency of their new test system and product designs by conducting requirements traceability from documentation to implementation in National Instruments software. With the new version, engineers can map requirements to objects on LabVIEW block diagrams as well as the contents of LabVIEW Project files.

For more information contact National Instruments, 0800 203 199, [email protected], www.ni.co/southafrica





Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

AI Experts provide product-specific intelligence
Measuretest Test & Measurement
VIAVI Solutions has announced AI Experts, the first addition to its NITRO AI portfolio of AI-driven capabilities with each Expert providing product-specific intelligence.

Read more...
Rugged spectrum analyser
Vepac Electronics Test & Measurement
The HAROGIC PXR Series is designed for maximum durability and performance in the most demanding environments.

Read more...
Setting a new benchmark for high-power DC load testing
Conical Technologies Test & Measurement Power Electronics / Power Management
The new ITECH IT8900G/L high-speed, high-power DC electronic load offers a powerful combination of speed, scalability, precision and high-power density.

Read more...
Locate underground cable faults faster with the Fluke AF2082 A-Frame
Comtest Editor's Choice Test & Measurement
Underground cable faults can lead to costly downtime, service disruptions, and extensive excavation if the fault location is uncertain. The AF2082 simplifies this process by guiding operators directly to the fault point.

Read more...
Precision power for electronics testing
Vepac Electronics Test & Measurement
The PeakTech 6168 switching power supply is a versatile and reliable solution designed for professional applications in laboratories, development environments, service centres, and training facilities.

Read more...
12-bit 1-wire temperature sensing
RS South Africa Test & Measurement
The DS18B20 digital thermometer from Analog Devices provides 9-bit to 12-bit Celsius temperature measurements in the range -55°C to 125°C.

Read more...
Ultra-fast wideband RF insight
Vepac Electronics Test & Measurement
The Harogix PXE-200 is a high-performance real-time spectrum analyser designed for demanding RF environments up to 20 GHz.

Read more...
Field calibration made easy
Instrotech Test & Measurement
Built around modern component technology, an intuitive interface, and a rugged IP54-rated housing, Instrotech’s Calog series is engineered for the demands of real industrial field calibration work.

Read more...
Rugged two-pole voltage tester
Vepac Electronics Test & Measurement
A key advantage of the PeakTech 1094 is its battery-free operation, ensuring the tester is always ready for use whenever required by professional electricians or maintenance personnel.

Read more...
Rapid IoT prototyping simplified
Future Electronics Test & Measurement
The STEVAL-MKBOXPRO from STMicroelectronics is a compact, ready-to-use wireless development kit designed to accelerate the creation of intelligent IoT and wearable applications.

Read more...









While every effort has been made to ensure the accuracy of the information contained herein, the publisher and its agents cannot be held responsible for any errors contained, or any loss incurred as a result. Articles published do not necessarily reflect the views of the publishers. The editor reserves the right to alter or cut copy. Articles submitted are deemed to have been cleared for publication. Advertisements and company contact details are published as provided by the advertiser. Technews Publishing (Pty) Ltd cannot be held responsible for the accuracy or veracity of supplied material.




© Technews Publishing (Pty) Ltd | All Rights Reserved