VI Analyzer Enthusiasts Documents

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:


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.

DNatt, LV R&D
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
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!

DNatt, LV R&D