Unit Testing Group

cancel
Showing results for 
Search instead for 
Did you mean: 

Unit testing of point by point VI's

We are making a lot of VI's that are reentrant and point by point to our simulation models. The challenge is to make a unit test with NI's UT framework without using a wrapper VI.

Do any one have any experience with that?

An example on a point by point VI could be as follow: https://decibel.ni.com/content/docs/DOC-1195

/christian

0 Kudos
Message 1 of 3
(4,951 Views)

Test Vectors are the answer. You can use these to test VIs like this, I had to do this with some FPGA VIs.

The only problem is with reset behaviour, although test vectors repeatedly call your VI each call is a new call so if you use this as an internal reset it may cause some problems.

James Mc
========
CLA and cRIO Fanatic
My writings on LabVIEW Development are at devs.wiresmithtech.com
0 Kudos
Message 2 of 3
(4,392 Views)

Thanks I will try that

Luckily I don't have a internal reset but only a reset input, so that is not a problem

0 Kudos
Message 3 of 3
(4,392 Views)