06-10-2011 07:21 AM
I have large application code developed & i want to test the software thoroughly.
I want to write test VI's for this task & how i can do that?
Please advise me ASAP.
Dnyanoba.
06-10-2011 07:29 AM
Your question needs more explenation. What do you want to test? Is it measurement? Or maybe file I/O?
It's a good idea to create VI's for stress testing your code. If you're doing measurements and want to test your analysis, you should create a Vi that simeulates signals and for example noise.
The VI's you should create is to simalute stuff that can happend in real life. And maybe check for race conditions etc. For example read a file 3000 times and see if any of your data is read wrong etc.
There any many ways to do this. Please explain more what your program does (the main function). Try to split it up, like:
Example:
DAQ -> Analyse samples -> Log errors -> Update UI
06-10-2011 08:58 AM
Hi Even,
Thanks for your quick reply.
Actually i am a test engineer & doing LabVIEW software testing job.
I have a developed LabVIEW application which contains thousands of VI's to measure signals/writes file IO's & i want to thoroughly test those VI's.
There are several ways to that one like Unit testing.
I want to know how i can test this code which is divided in layers by using test VI's or Top-down approach.
Please clear my queries with simple example of how to use test VI's to do this.
Thanks,
Dnyanoba
06-10-2011
09:03 AM
- last edited on
04-17-2025
03:04 PM
by
Content Cleaner
Perhaps you should be looking at this: NI LabVIEW Unit Test Framework Toolkit
By the time you write your own stuff you'll probably find the toolkit to be a far cheaper solution.
06-10-2011 10:16 AM - edited 06-10-2011 10:17 AM
You might also look at this http://forums.jki.net/topic/985-vi-tester-home-page/
It is free but I have no experience with it.