National_Instruments
CLAD · Question #16
Which is the best method to stop a While Loop on an error condition?
The correct answer is B. Connect the error wire directly to the Stop terminal. You've hit your limit · resets 12:50am (America/New_York)
Debugging and Error Handling
Question
Which is the best method to stop a While Loop on an error condition?
Options
- AConnect the status Boolean of an error cluster with a constant and wire it to the Stop terminal
- BConnect the error wire directly to the Stop terminal
- CCreate an Event structure to handle the error event
- DUse the Error Handler VI to automatically handle the error
How the community answered
(35 responses)- A6% (2)
- B80% (28)
- C3% (1)
- D11% (4)
Explanation
You've hit your limit · resets 12:50am (America/New_York)
Topics
#While Loop stop condition#error cluster#error handling#loop termination
Community Discussion
No community discussion yet for this question.