VI Analyzer Enthusiasts Documents

cancel
Showing results for 
Search instead for 
Did you mean: 

Test - Merge Errors Style

This test detects any Build Array or Select function that has error clusters wired to all of its inputs:

builderr.png

Both of these constructs should be replaced with the Merge Errors function.

This test is saved in LabVIEW 2012. Follow the instructions here to install and use this test.

Darren Nattinger, CLA
LabVIEW Artisan and Nugget Penman
Comments
Knight of NI Knight of NI
Knight of NI

How does the "new" merge errors function compare to the select performance-wise?  I know the older merge errors was pretty slow and using the select was a way to catch errors efficiently at the cost of possibly losing warnings.


There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines

The discussions from the Advanced User Track is not over. Join in the conversation: 2016 Advanced Users Track
Example Gatekeeper
Example Gatekeeper

I just did a quick benchmark of all 4 possible error combos (0 errors, 2 errors, 1 error on top input, 1 error on bottom input) in LabVIEW 2012, and in each case it looks like Merge Errors is slightly more performant than Select. And you get to keep your warnings!

Darren Nattinger, CLA
LabVIEW Artisan and Nugget Penman
Contributors