Hi, I have the following code which stops running whenever an error ocurrs.
But when "Error 7" occurs, the code instead of stopping, shows a dialogue with "Continue" botton shown in the following figure.
I was wondering how I can modify the code in a way that "Error 7" would actually stop the running process not showing a dialogue with continue botton. By the way, I have simple error handler at the end of the code.
![code.png code.png](https://forums.ni.com/t5/image/serverpage/image-id/115216i595CFEDED6D23933/image-size/original?v=mpbl-1&px=-1)
//////////////////////////////////////////////////
![stop.png stop.png](https://forums.ni.com/t5/image/serverpage/image-id/115220iFA569240F790EC3F/image-size/original?v=mpbl-1&px=-1)
////////////////////////////////////
![simple error handler.png simple error handler.png](https://forums.ni.com/t5/image/serverpage/image-id/115222i9544D9273AC836D4/image-size/original?v=mpbl-1&px=-1)
////////////////////////////////
![error.png error.png](https://forums.ni.com/t5/image/serverpage/image-id/115218i1247D8485D91C1CC/image-size/original?v=mpbl-1&px=-1)