JKI Discussion Forums
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Suggestion: Error Code for PassIfError.vi Rate Topic: -----

#1
User is offline   Daklu 

  • Group: Members
  • Posts: 31
  • Joined: 08-May 08
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:
Attached Image: monthly_08_2009/post-2450-1250005256.png

Thanks for the great product!

Dave
0 kudos

#2
User is offline   Omar Mussa 

  • Group: JKI Team
  • Posts: 87
  • Joined: 12-October 06

View PostDaklu, on Aug 11 2009, 03:46 PM, said:

Is there a reason PassIfError.vi doesn't have the ability to check for specific error codes?


That's a great idea!

View PostDaklu, on Aug 11 2009, 03:46 PM, said:

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.
0 kudos

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic