LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

GPIB Error Handler

Solved!
Go to solution

Okay, I don't think I'm doing this correctly. The dialog window is exactly what is written in the format string instead of taking the values from the error in. 

 

Also I'm fumbling with where does the One button dialog goes. In the loop it outputs the dialog box with every iteration, which I think is because it checks every iteration, correct? Except its not, when I turn off the device halfway nothing happens, And 20 iterations worth of dialog boxes is not going to work.

0 Kudos
Message 11 of 12
(450 Views)
Solution
Accepted by topic author Jibica

1. Do not wire the Error In on the Format Into String, especially since you already know there's an error.  That will cause the Format Into String to not do what it is supposed to.

2. The Format Into String should only be in the Default case.  You have special strings you want for the error codes you know, right?



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 12 of 12
(439 Views)