LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

unit test cases and procedures

We are using LV 8.20 and TestStand 3.5.  I believe I saw on one of these discussion forums that Veritool is no longer supported (unless one modifies some code) in LV8.2.  If NI isn't intentionally supporting this tool in LV8.2,
 
1) Is it a good idea to try and modify the existing tool to work with 8.2
 
2) What other techniques are available out there for unit testing VIs
0 Kudos
Message 1 of 11
(3,998 Views)

Hi mrbean,

VeriTool is just a set of VI's that can be used for Unit Validation Testing.  It was never an officially supported tool.  One option you have for this code is to modify it to be compatible with LabVIEW 8.20.  You may be able to update VeriTool by replacing the error handling VI's.

The other thing you can look at for validating LabVIEW VI's is this webcast: How to Perform Validation on a LabVIEW Application.

Best of luck on your application, and have a great day!!

Regards,
Ching P.
DAQ and Academic Hardware R&D
National Instruments
0 Kudos
Message 2 of 11
(3,974 Views)
Is all the source code I need accessible?
0 Kudos
Message 3 of 11
(3,958 Views)

Hi mrbean,

The source code used to be available here: http://zone.ni.com/devzone/cda/tut/p/id/3586, but I cannot find it.  I am currently working on trying to see what happened to the attachment.  Like I said before, one of your other options may be to take a look at this webcast: How to Perform Validation on a LabVIEW Application.  This webcast discusses many different options for performing validation on LabVIEW Applications. 

I will let you know what I find about VeriTool.

Regards,
Ching P.
DAQ and Academic Hardware R&D
National Instruments
0 Kudos
Message 4 of 11
(3,931 Views)
CPhuong, are you VN?
0 Kudos
Message 5 of 11
(3,919 Views)
I have a copy of the veritool.llb that I could post but the one time I used it many years ago, I found it fairly difficult to use and not exactly worth the effort, especially for instrument control and drivers. The validity of the test cases you could create was highly subjective, imo.  Some of the other unit test procedure is handled much better with the VI Analyzer.
0 Kudos
Message 6 of 11
(3,915 Views)

Hi mrbean,

Here is the link to find the veritool.llb (http://zone.ni.com/devzone/cda/epd/p/id/3589).

Dennis seems to think that this tool is quite difficult to use, and with the amount that he posts on the discussion forums/uses LabVIEW, I would tend to trust what he says.  If you would like to try a different method of VI validation, you can use the VI Analyzer like he suggested, or the methods suggested by LabVIEW Product Manager in the webcast that was posted before. 

Please let me know if you have any further questions.

Regards,
Ching P.
DAQ and Academic Hardware R&D
National Instruments
0 Kudos
Message 7 of 11
(3,894 Views)
Hi napview,

Can you please clarify; what does VN mean?
Regards,
Ching P.
DAQ and Academic Hardware R&D
National Instruments
0 Kudos
Message 8 of 11
(3,892 Views)
Smiley WinkVietnam
0 Kudos
Message 9 of 11
(3,831 Views)

JKI has just released VI Tester, which is a pure LabVIEW implementation of the xUnit software testing architecture.  In VI Tester, unit tests are VIs that perform tests on other VIs.  Below, is a screenshot of the user interface running some tests.

 

0 Kudos
Message 10 of 11
(3,452 Views)