NI LabVIEW Toolkits Automate Software Testing to Ensure Quality and Reliablity

19th February 2009
Posted By : ES Admin
NI LabVIEW Toolkits Automate Software Testing to Ensure Quality and Reliablity
National Instruments has 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 real-time 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.

With software engineering tools, developers can mitigate the risk of bugs and ensure high-quality, reliable applications. LabVIEW users can take advantage of code analysers and unit test frameworks to demonstrate the quality of graphical code and automate practices such as regression testing and validation against requirements.

You must be logged in to comment

Write a comment

No comments

Sign up to view our publications

Sign up

Sign up to view our downloads

Sign up

Girls in Tech | Catalyst | 2019
4th September 2019
United Kingdom The Brewery, London
DSEI 2019
10th September 2019
United Kingdom EXCEL, London
EMO Hannover 2019
16th September 2019
Germany Hannover
Women in Tech Festival 2019
17th September 2019
United Kingdom The Brewery, London
European Microwave Week 2019
29th September 2019
France Porte De Versailles Paris