VI Analyzer Enthusiasts Documents

Showing results for 
Search instead for 
Did you mean: 

Test - Merge Errors Style

by Example Gatekeeper ‎04-18-2013 03:02 PM - edited ‎01-30-2017 08:26 AM

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.

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.

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!

Contributors