LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to display or catch multiple errors in error cluster output

Highlighted

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
(409 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
CLAD expired, using 2009SP1 + LV2011SP1 + LV2017 (+LV2018 sometimes) on Win7+cRIO
Kudos are welcome Smiley Wink

0 Kudos
Message 2 of 4
(397 Views)

Also see:

Capturing multiple errors for some VI's.

0 Kudos
Message 3 of 4
(385 Views)

Another option is to use an array of error clusters.


There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
0 Kudos
Message 4 of 4
(371 Views)