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:

Water detection sensor
Test & Measurement
Recently, a major global automaker experienced significant issues caused by coolant leaking within the battery system, resulting in short circuit and a subsequent fire that destroyed the vehicle.

Read more...
New atom-based thermometer measures temperature more accurately
Test & Measurement
Beyond precision science, the new thermometer could have wide-ranging applications in challenging environments from spacecraft to advanced manufacturing plants, where sensitive temperature readings are essential.

Read more...
60 MHz 16-bit AWG
Vepac Electronics Test & Measurement
Siglent’s SDG1000X Plus series function/arbitrary waveform generator offers a maximum output frequency of 60 MHz, 16-bit vertical resolution, 1 GSa/s sampling rate, and 8 Mpts arbitrary waveform length.

Read more...
AC programmable power
Accutronics Test & Measurement
TDK Corporation has announced the introduction of the TDK-Lambda brand GENESYS AC and GENESYS AC PRO series of 2 kVA and 3 kVA rated programmable AC power sources.

Read more...
QA introduces large chisel tip style probes
Techmet Test & Measurement
The two new probes have a larger diameter to provide better contact reliability.

Read more...
Digital PSU with four variable outputs
Vepac Electronics Test & Measurement
The PeakTech 6215 is a laboratory power supply with four separate voltage outputs, each one infinitely variable using the rotary controls on the front of the unit.

Read more...
High-voltage insulation resistance testers
Comtest Test & Measurement
Two new high-voltage insulation resistance testers, from Fluke, deliver accuracy and speed in industrial and solar PV applications.

Read more...
Digital accelerometer for high dynamics applications
RS South Africa Test & Measurement
TDK extends its Tronics portfolio with the AXO314, a high-performance digital MEMS accelerometer with ±14 g input range for industrial applications operating under shock and vibration.

Read more...
Acceleration sensors for wearables
Future Electronics Test & Measurement
Bosch Sensortec has introduced two new acceleration sensors, the BMA530 and BMA580, both offered in a compact size of only 1,2 x 0,8 x 0,55 mm.

Read more...
Accurate laser measurement
Avnet Silica Test & Measurement
Online Teaser: Panasonic Industry’s laser sensor has a resolution of up to 0,5 µm, a linearity of ±0,05% FS, and a high-speed sampling of 100 µs.

Read more...