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:

Analyser and voltmeter capability added to portable instruments
Tamashi Technology Investments Test & Measurement
Anritsu Company had added Vector Network Analyzer and Vector Voltmeter measurements to their industry standard Site Master instruments.

Read more...
Marktech’s latest LEDs and photodiodes
NuVision Electronics Test & Measurement
Designed for precision sensing and emission tasks, Marktech’s optoelectronic lineup serves medical, industrial, aerospace, and environmental markets.

Read more...
MEMS air quality sensor
Future Electronics Test & Measurement
Bosch Sensortec’s BME690 is the latest-generation gas sensor that combines advanced monitoring capabilities with innovative artificial intelligence functionality.

Read more...
Telemetry retrofit for sustainable resource management
CST Electronics Test & Measurement
AquaMeter is a cost-effective secure telemetry retrofit that can easily be added to hundreds of millions of legacy mechanical water meters.

Read more...
True-RMS clamp meter measures 2500 A
Comtest Test & Measurement
The Fluke 376 FC True-RMS Clamp Meter with iFlex is the most advanced troubleshooting tool for industrial and commercial electricians.

Read more...
Latest wireless barcode scanner
Brady Corporation Test & Measurement
Brady has launched its new barcode scanner, the CR2100, which is a wireless handheld scanner utilising Bluetooth 5 LE for communication with a host device.

Read more...
hybridNETBOX instrumentation platform
Vepac Electronics Test & Measurement
The hybridNETBOX from Spectrum Instrumentation is an innovative instrumentation platform that combines a multi-channel arbitrary waveform generator (AWG) and a digitiser in a single portable unit.

Read more...
14-bit AWG at 20 GS/s
Vepac Electronics Test & Measurement
The Arb Rider AWG-7000 is the world’s fastest 14-bit Arbitrary Waveform Generator, featuring a 20 GS/s real time update rate and 14-bit vertical resolution.

Read more...
Additions to APD5000 series oscilloscopes
Osiris Technical Systems Test & Measurement
Each unit is equipped with an integrated CAT II digital multimeter, three programmable power supplies, a dedicated trigger line, and an arbitrary waveform generator.

Read more...
Handheld RTSA up to 9,5 GHz
Vepac Electronics Test & Measurement
The PXE-90 implements an FFT engine on the built-in FPGA and support frame compression with trace detection while ensuring no missing samples between FFT frames.

Read more...