LabWindows/CVI User Group Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

IVI 2014 Requirments

IVI 2014 requirments are that the Unit tests for a vendors IVI driver be available for the customer - or something along those lines.We have quite a few IVI drivers created with LabWindows/CVI are there any activities on NI's part to add Unit testing to LabWindows to test each function/attribute?

I know you already have test tools built into CVI to test compliance of IVI drivers and the function panels.If there are no plans to add Unit tests maybe you could create a document on which Open source Unit test framework to use and how to set it up to Unit test a IVI driver created in CVI.

Thx.

0 Kudos
Message 1 of 2
(4,814 Views)

The unit testing requirements are defined in the IVI-3.1 specification, Section 5.2.2.1.1. If a driver is compliant with the IVI-2014 Generation, the unit testing section in the compliance document should include the information about the test setup i.e. which instrument model, firmware revision, bus interface, OS, etc., driver vendor used to perform the unit testing. The driver vendors do not have to provide the unit test code to their customers.

There are currently no plans to add unit testing tools in LabWindows/CVI, but NI will consider creating a white paper to suggest how to unit test IVI-C drivers that are created in CVI.

Regards,

Shawn S. | NIC
Instrument Driver/IVI PSE
National Instruments
Message 2 of 2
(4,201 Views)