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:

Identifying interference in 5G and LTE networks
Test & Measurement
The latest Field Master software release provides a dual display of the LTE or 5G Frame structure, with automatic placement of gates on the Uplink slots alongside the RF spectrum of the gated time slots.

Read more...
High-speed AWG generates up to 20 sine waves
Vepac Electronics Test & Measurement
Spectrum Instrumentation has released a new firmware option for its range of versatile 16-bit Arbitrary Waveform Generators, with sampling rates up to 1,25 GS/s and bandwidths up to 400 MHz.

Read more...
Digitisers upgraded with pulse generator option
Vepac Electronics Test & Measurement
Spectrum Instrumentation has added the Digital Pulse Generator option to its ultrafast digitisers (with up to 10 GS/s speed) and arbitrary waveform generators.

Read more...
Network Master Pro to provide support of OpenZR+
Tamashi Technology Investments Test & Measurement
Anritsu Corporation has introduced the 400G (QSFP-DD) multi-rate module MU104014B that supports the new interface standard.

Read more...
Upgrade brings extra layer of detection to Fluke’s acoustic imagers
Comtest Test & Measurement
The firmware 5.0 update helps to boost efficiency and allows maintenance technicians to scan large areas quickly, and visually pinpoint technical issues before they become critical.

Read more...
Companies collaborate on EnviroMeter
Avnet Silica Test & Measurement
STMicroelectronics and Mobile Physics have joined forces to create EnviroMeter for accurate air-quality monitoring on smartphones. Time-of-flight optical sensing enables an accurate personal air quality monitor and smoke detector.

Read more...
PCB test points
Vepac Electronics Test & Measurement
Maintaining these access points in the final production versions will prove invaluable during the life of the equipment for service, adjustment, and debug, or repair activities.

Read more...
RFID reader
Test & Measurement
The EXA81 from Brady turns any smartphone or tablet into a personal radar that can pick up radio signals from all RFID-labelled items.

Read more...
Proximity sensor with VCSEL
Avnet Abacus Test & Measurement
Vishay’s newest small package proximity sensor, the VCNL36828P, combines low idle current with an I2C interface and smart dual slave addressing.

Read more...
CNH data output devices for AI applications
Altron Arrow Test & Measurement
STMicroelectronics’ CH family of time-of-flight sensor devices feature compact and normalised histogram (CNH) data output for artificial intelligence applications requiring raw data from a high-performance multizone ToF sensor.

Read more...