07-11-2011 10:47 AM
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?
Solved! Go to Solution.
07-11-2011 11:07 AM
@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
07-11-2011 03:06 PM
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.