NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Propagation of Error Out

In my code, I have an area that sort of does some parallel processing.  Anyway, each of those code snippets has an Error Out that is then available to the rest of the code which happens to be mostly sequential.  My question is, with two Error Out sources, and mainly one Error In, what is the best way to propagate the (possible) errors from the two Error Outs.
0 Kudos
Message 1 of 2
(2,852 Views)

Hi,

  I assume you're talking about TestStand calling code modules that have error outs? You're launching off an extra sequence in a new thread to get the parallel processing?

I would say queueing the error data immediately after it's retrieved, rather than putting it into one data space directly, and then you can retrieve from that queue easier.

If you're talking about a piece of say LV code in itself, then you can merge errors to get the one that hit an error (the order of the merge errors will give you the priority of one over the other in case they're both in error.

Hope that help

Sacha

// it takes almost no time to rate an answer Smiley Wink
0 Kudos
Message 2 of 2
(2,848 Views)