LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to display or catch multiple errors in error cluster output

I have a program in witch I check for errors like this:

Untitled.png

I want to see if any of the errors exist in program and display them in error out 2 cluster.

 

The problem I want to solve is:

If (for example) all three errors exist, I only see Error 3 (code -997) in error out 2 cluster, and other two errors (Error 1, Error 2) I don't see and they are lost.

 

How to display all errors?

0 Kudos
Message 1 of 4
(2,927 Views)

Hi Skoda,

 

How to display all errors?

You might:

- concatenate the error strings (the string can grow as long as you like, but the error number/boolean can still only take one error)

- log all errors to a file (I use a FGV aka AE for this task, it even stores the last ~100 errors internally for display purposes)

 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(2,915 Views)
0 Kudos
Message 3 of 4
(2,903 Views)

Another option is to use an array of error clusters.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 4 of 4
(2,889 Views)