LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use the "Error Cluster From Error Code.vi"

Anyone can teach me how to use the "Error Cluster From Error Code.vi" function? Please provide a simple example.. please refer to attachment "How to use.vi".
 
Now I'm doing a I2C program, I had face a problem that is, if I try to read back the ACK if result show fail 10 time. I wish to stop whole while loop program and show the error message, how can I achieve this target? Is that possible? Please see the Stop all While loop.jpg. Any help will be appreciated
 
 
Download All
0 Kudos
Message 1 of 2
(2,807 Views)

Instead, use a general error handler.

unbundle the error cluster that is cascading through out your while loop and use the status line in the cluster to stop ur while loop

like in  this VI
any doudts, do get back
 
Regards
Dev
0 Kudos
Message 2 of 2
(2,801 Views)