Jump to content
Daklu

Suggestion: Error Code for PassIfError.vi

Recommended Posts

Is there a reason PassIfError.vi doesn't have the ability to check for specific error codes? (By reason I mean a "that's not an appropriate way to do unit testing" kind of reason.) When I'm using PassIfError.vi, often I want to make sure the correct error is raised. This is especially true with reuse code packages that define specific error codes. It would be nice if there were an optional error code input for PassIfError.vi that would do that checking internally. It's not difficult to work around, just a bit more duplicated work.

 

Here's my current workaround:

post-2450-1250005256.png

 

Thanks for the great product!

 

Dave

  • Upvote 1

Share this post


Link to post
Share on other sites
Is there a reason PassIfError.vi doesn't have the ability to check for specific error codes?

 

That's a great idea!

 

Thanks for the great product!

 

We're glad you like it! Keep on sending your feedback, we're very interested to see how VI Tester is used in the LabVIEW community.

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.