Jump to content
wildcatherder

Overview of use in project

Recommended Posts

I've read through the getting started article and read the article on Hardware Mocking but what I see is just an arbitrarily modified VI being embedded in another VI which does simple comparison testing. Is that what VI Tester does? Could I see a more "real world" example of how and, perhaps more to the point, why I would do this? As a rule, I test a VI when I construct it. This seems overly formalized for most cases. Why would I want to retest a working VI later?

Share this post


Link to post
Share on other sites

I've read through the getting started article and read the article on Hardware Mocking but what I see is just an arbitrarily modified VI being embedded in another VI which does simple comparison testing. Is that what VI Tester does? Could I see a more "real world" example of how and, perhaps more to the point, why I would do this? As a rule, I test a VI when I construct it. This seems overly formalized for most cases. Why would I want to retest a working VI later?

 

JKI engineer Jack Dunaway wrote a great blog article called "Don't Throw Away Your "Throw-Away" Code" that talks about how to leverage the test code you write as your construct your VIs. Check it out and see if it answers any of your questions. To answer your last question, "Why would I want to retest a working VI later?", because often times VIs don't always work later, as improvements are made to the code or various other conditions change (like upgrading the source code to a newer version of LabVIEW). Having unit tests that you run frequently (especially before building your exe) lets you know about these "bugs" in your code before you ship it to your customer.

 

-Jim

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.