04-24-2015 05:48 AM
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
04-24-2015 08:35 AM
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.
04-27-2015 01:22 AM
Thanks I will try that
Luckily I don't have a internal reset but only a reset input, so that is not a problem