LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

purpose of Merge Errors function ?

Solved!
Go to solution

I am looking at an example VI for a NI-HSDIO card. In this example, there is a Merge Errors. What is the purpose of using a Merge Errors function? Synchronization?

0 Kudos
Message 1 of 3
(4,326 Views)
Solution
Accepted by topic author nyc_(is_out_of_here)

@nyc_(is_out_of_here) wrote:

I am looking at an example VI for a NI-HSDIO card. In this example, there is a Merge Errors. What is the purpose of using a Merge Errors function? Synchronization?


I can't say how they're use in the NI-HSDIO example, but yes, the merge errors function is often used for basic synchronization of parallel tasks.  Take a look at the image I attached.  Here the Merge Errors function is used to make sure that none of the DAQmx Start Task VI's executes unless and until all of the DAQmx Create Channel VI's complete successfully.  Note that this screenshot is from 8.6, so the merge errors function might look a bit different.

 

Mark Moss
Electrical Validation Engineer

GHSP

0 Kudos
Message 2 of 3
(4,316 Views)

The example VI that I found in C:\Program Files\National Instruments\LabVIEW 2010\examples\instr\niHSDIO  directory is doing two parallel tasks of acquisition and generation.

 

 

0 Kudos
Message 3 of 3
(4,295 Views)