Jump to content

Suggestion: Error Code for PassIfError.vi


Daklu

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

Link to comment
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.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

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