Dr. Dobb's is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them. Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Channels ▼


LabVIEW Toolkits Automate Software Testing

National Instruments has announced its NI LabVIEW Unit Test Framework and LabVIEW Desktop Execution Trace toolkits, 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.

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 analyzer that engineers can use during run time to detect and locate problems in code that could impact performance or cause unexpected behavior. 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 optimize 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 Analyzer 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 analyzers and unit test frameworks to demonstrate the quality of graphical code and automate practices such as regression testing and validation against requirements.

Related Reading

More Insights

Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dr. Dobb's encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dr. Dobb's moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing or spam. Dr. Dobb's further reserves the right to disable the profile of any commenter participating in said activities.

Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.